def METHOD_NAME():
    for fn in glob.glob("../reference_schemas/psd/Pset_*.xml"):
        D = {}
        psets.append(D)
        xd = xml_dict.read(fn)
        D['name'] = psname = xd.child_with_tag("Name").text
        D['package'] = set_to_package[psname]
        try:
            D['type'] = xd.attributes['templatetype']
            if not D['type'].lower().startswith("pset_"):
                print(f"Templatetype {D['type']}:", psname)
                D['type'] = None
        except:
            print("No templatetype:", psname)
            D['type'] = None
        if D['type'] is None:
            # assume as default for now
            D['type'] = "PSET_TYPEDRIVENOVERRIDE"
        pset_stereotypes.add(D['type'])
        D['properties'] = handle_property_defs(D['package'], psname, xd.child_with_tag("PropertyDefs").children)
    for fn in glob.glob("../reference_schemas/psd/Qto_*.xml"):
        D = {}
        qtos.append(D)
        breakpoint()
        xd = xml_dict.read(fn)
        D['name'] = qset = xd.child_with_tag(f'{{{NS_QTO}}}Name').text
        D['package'] = set_to_package[qset]
        D['quantities'] = []
        for prop in xd.child_with_tag(f'{{{NS_QTO}}}QtoDefs').children:
            qname = prop.child_with_tag(f'{{{NS_QTO}}}Name').text
            qtype = prop.child_with_tag(f'{{{NS_QTO}}}QtoType').text
            assert qname
            assert qtype
            qto_datatypes.add(qtype)
            D['quantities'].append({
                'name': qname,
                'type': qtype,
            })