def METHOD_NAME(self, path: str) -> Element:
    """
    Parses a JUnit XML report and returns root.
    :param path: path to source file
    """
    with open(path) as report_file:
        return parse(report_file).getroot()