Export the tree as a text file. This file will be used as input in the Tree Parser program.