code: public void parse(File f, DefaultHandler dh) throws SAXException, IOException
      {
          XMLReader reader = getXMLReader();
          InputSource source = new InputSource(new FileInputStream(f));
          reader.setContentHandler(dh);
          reader.parse(source);
      }
docs: parses and validates the given File using the given DefaultHandler