reordered methods
fix bug. Parent directory was not created
implemented the write method in FileManager
organize imports