code: public boolean isValidSourceFileOrDir(File file) {
          String name = file.getName();
          return !isExcludedDotFile(name) && !excludeExtensions.contains(Files.getExtension(file.getName()));
      }
docs: Returns true if this file is a valid source file; so
  excluding things like .svn directories and whatnot