Need of exception handling

We should be handling exceptions within the FileManager class, I have
added the try/catch blocks in the exception handling areas.