List<VirtualFile> (@NotNull VirtualFile f, @NotNull List<VirtualFile> result) { if (f.isDirectory()) { for (VirtualFile child : iterateDBChildren(f)) { collectFiles(child, result); } } else { result.add(f); } return result; }