public boolean containsFile(File file){
  return (file == null) ? false : xmlFiles.containsKey(file.getName());
}

public boolean containsFile ( File file ) { return ( file == null ) ? false : xmlFiles . containsKey ( file . getName ( ) ) ; }
returns true if the model contains the given file , and false otherwise .
