added the FileManager class for file operations on the disc.