replaced file pointers in GTree with a pointer to GTreeManager. All files and all trees can be accessed from there