This line is throwing a `NSFileHandleOperationException` exception, which is a documented eventuality when the file can't be read: NSData *fileData = [handle readDataOfLength:8]; Instead of crashing, log the exception and return `NO`.