WritingParseTreesToFile