where do you get your text document from? Is it created from messing with the treeeditor and nodeeditor?
Yes it will automatically create the text document when you save, just save it in the data folder for your project.