Check for file open success