fout[0] = UTOutput.createPrintBufferedFileStream(args[0]+".trn.parse");
fout[1] = UTOutput.createPrintBufferedFileStream(args[0]+".trn.raw");
fout[2] = UTOutput.createPrintBufferedFileStream(args[0]+".tst.parse");
fout[3] = UTOutput.createPrintBufferedFileStream(args[0]+".tst.raw");
for (i=0; (tree = reader.nextTree()) != null; i++)
{
j = (i%6 == 0) ? 2 : 0;
fout[j] .println(tree.toString()+"\n");
fout[j+1].println(tree.toForms());