Created seperate files for tree structures.