def METHOD_NAME(xml_types: record_type, fname: str, folder: str) -> None:
    """Collect xml attribute usage in a file
    Args:
        xml_types (dict): dictionary containing attribute usage
        fname (str): name of the target file
        folder (str): the source folder for the current file
    """
    parser = ElementTree.XMLParser(remove_comments=True, remove_blank_text=True)
    xml_tree = ElementTree.parse(fname, parser=parser)
    xml_root = xml_tree.getroot()
    collect_xml_attributes_level(xml_types['Problem'], xml_root, folder)