code: public void fromXML(File file) throws DocumentException
      {
          SAXReader reader = new SAXReader();
          fromXML(reader.read(file));
  
      }
docs: Parse XML file to extract document information.
  
  @param file the xml file
  @throws DocumentException error when parsing XML file