Added FileManager class with methods