public boolean accept(File file){
  return accept(file.getParentFile(),file.getName());
}

public boolean accept ( File file ) { return accept ( file . getParentFile ( ) , file . getName ( ) ) ; }
checks to see if the file should be accepted by this filter .
