Removed two error object that were used only for error checking. Instead the boolean output from the two file manager methods can be used.