Catch attribute errors, which are raised when the requested file doesn't exist