File manager

- [x] FileManagerTest
- [x] FileManager