code: public boolean accept(File file) {
          if (caseSensitive) {
              return file.getName().startsWith(string0);
          } else {
              return file.getName().toLowerCase().startsWith(string0.toLowerCase());
          }
      }
docs: Accepts a File if its filename startsWith a specific string.
  @param file The file to match
  @return True if the File startsWith the specific string, otherwise false