Moved file templates from tree_app.tcl to files.