code: public static Document readXML(File file) throws IOException, SAXException, ParserConfigurationException {
  		assert file != null : AssertMessages.notNullParameter();
  		try (FileInputStream fis = new FileInputStream(file)) {
  			return readXML(fis);
  		}
  	}
docs: Read an XML file and replies the DOM document.
  
  @param file is the file to read
  @return the DOM document red from the {@code file}.
  @throws IOException if the stream cannot be read.
  @throws SAXException if the stream does not contains valid XML data.
  @throws ParserConfigurationException if the parser cannot  be configured.