basic FileManager changes, FileManager test class (not JUnit, sorry)