* @param respStream the output stream to which response will be written, skipped if null
* @throws Exception If the processing fails
*/
public void processDSMLFile( File file, OutputStream respStream ) throws Exception
{
parser = new Dsmlv2Parser( grammar );
parser.setInputFile( file.getAbsolutePath() );
processDSML( respStream );
}