def get_file_metadata(root):
properties = {}<EOL>file_author = getattr(root.find('<STR_LIT>'), '<STR_LIT:text>', False)<EOL>if not file_author:<EOL><INDENT>raise MissingElementError('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>properties['<STR_LIT>'] = [{'<STR_LIT:name>': file_author}]<EOL><DEDENT>properties['<STR_LIT>'] = <NUM_LIT:0><EOL>properties['<STR_LIT>'] = __version__<EOL>return properties<EOL>
Read and parse ReSpecTh XML file metadata (file author, version, etc.)

    Args:
        root (`~xml.etree.ElementTree.Element`): Root of ReSpecTh XML file

    Returns:
        properties (`dict`): Dictionary with file metadata