def METHOD_NAME(xml_output):
    """
    Open and parse an xml file.
    TODO: Write custom parser to just read the nodes that we need instead
    of reading the whole file.
    @return xml_tree An xml tree instance. None if error.
    """
    try:
        parser = etree.XMLParser(recover=True)
        tree = etree.fromstring(xml_output, parser=parser)
    except SyntaxError as err:
        print(f"SyntaxError: {err}. {xml_output}")
        return None
    return tree