protected @NotNull Condition<VirtualFile> fileFilter(@NotNull Project project) {
      return file -> !file.isDirectory() && ScratchRootType.getInstance().containsFile(file);
    }
protected @NotNull Condition<VirtualFile> fileFilter(@NotNull Project project)