Move FileTree to its own file and add tests
Add test initalizer and some scenarios