Adding QuadTree to file