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

@ Override public boolean accept ( File file ) { String name = file . getName ( ) ; for ( String name2 : this . names ) { if ( caseSensitivity . checkEquals ( name , name2 ) ) { return true ; } } return false ; }
checks to see if the filename matches .
