code: public NYTCorpusDocument parseNYTCorpusDocumentFromFile(File file,
  			boolean validating) {
  
  		Document document = null;
  		if (validating) {
  			document = loadValidating(file);
  		} else {
  			document = loadNonValidating(file);
  		}
  		return parseNYTCorpusDocumentFromDOMDocument(file, document);
  	}
docs: Parse an New York Times Document from a file.
  
  @param file
  The file from which to parse the document.
  @param validating
  True if the file is to be validated against the nitf DTD and
  false if it is not. It is recommended that validation be
  disabled, as all documents in the corpus have previously been
  validated against the NITF DTD.
  @return The parsed document, or null if an error occurs.