code: public static void parse(DocListener document, String file) {
          HtmlParser p = new HtmlParser();
          p.go(document, file);
      }
docs: Parses a given file that validates with the iText DTD and writes the content to a document.
  @param document the document the parser will write to
  @param file the file with the content