def _safe_read_meta_file(fn, error_protocol):
try:<EOL><INDENT>return MetadataFile(fn)<EOL><DEDENT>except Exception as e:<EOL><INDENT>error_protocol.append(<EOL>"<STR_LIT>" % (fn, e.message)<EOL>)<EOL><DEDENT>
Try to read MetadataFile. If the exception is raised, log the errors to
the `error_protocol` and return None.