@Override public boolean accept(File file){
  String name=file.getName();
  for (  String prefix : this.prefixes) {
    if (caseSensitivity.checkStartsWith(name,prefix)) {
      return true;
    }
  }
  return false;
}

@ Override public boolean accept ( File file ) { String name = file . getName ( ) ; for ( String prefix : this . prefixes ) { if ( caseSensitivity . checkStartsWith ( name , prefix ) ) { return true ; } } return false ; }
checks to see if the filename starts with the prefix .
