void (@NotNull File dir) { List<String> paths = new ArrayList<>(); FileUtil.processFilesRecursively(dir, (file) -> { if (!file.isDirectory()) paths.add(FileUtil.getRelativePath(dir, file)); return true; }); LOG.debug("Files in " + dir + ": " + paths); }