public Differences compare(final File controlFile,final File testFile) throws SAXException, IOException {
  Document control=_parser.parse(controlFile);
  Document test=_parser.parse(testFile);
  Comparator comparator=new Comparator(control,test,_config);
  return comparator.compare();
}

public Differences compare ( final File controlFile , final File testFile ) throws SAXException , IOException { Document control = _parser . parse ( controlFile ) ; Document test = _parser . parse ( testFile ) ; Comparator comparator = new Comparator ( control , test , _config ) ; return comparator . compare ( ) ; }
compares test xml file with the control xml file .
