if (files.size() <= idx)
continue;
filesExist = true;
File f = files.get(idx);
if (f.isDirectory()) {
<BUG>Map<String, List<File>> map = files(f);
mergeMaps(res, map);</BUG>
}
}
if (!filesExist)

if (files.size() <= idx)
continue;
filesExist = true;
File f = files.get(idx);
if (f.isDirectory()) {
Map<String, List<File>> map = files(f);
if (!map.isEmpty())
mergeMaps(res, map);
}
}
if (!filesExist)
