code: protected boolean isSourceFile(File file) {
          String name = file.getName();
          String extension = Files.getExtension(name).toLowerCase();
          return sourceFileExtensions.contains(extension) || sourceFileNames.contains(name);
      }
docs: Returns true if this file is a valid source file name