code: public Node parse(File file) throws IOException, SAXException {
          InputSource input = new InputSource(new FileInputStream(file));
          input.setSystemId("file://" + file.getAbsolutePath());
          getXMLReader().parse(input);
          return parent;
  
      }
docs: Parses the content of the given file as XML turning it into a tree
  of Nodes.
  
  @param file the File containing the XML to be parsed
  @return the root node of the parsed tree of Nodes
  @throws SAXException Any SAX exception, possibly
  wrapping another exception.
  @throws IOException  An IO exception from the parser,
  possibly from a byte stream or character stream
  supplied by the application.