Asgn2, Refactor 3: Removed the try/catch from the updateFileState method
so that it will properly fail in the situation that the file is deleted
during execution.