boolean (@NotNull Path file) { return Files.isDirectory(file.resolve(Project.DIRECTORY_STORE_FOLDER)) || (Strings.endsWith(file.toString(), ProjectFileType.DOT_DEFAULT_EXTENSION) && Files.isRegularFile(file)); }