def METHOD_NAME(video_dir, anth_id_style, video_type):
    collection_ids = get_collection_ids(video_dir=video_dir, anth_id_style=anth_id_style)
    xml_files = [
        file
        for file in os.listdir(DATA_DIR)
        if os.path.splitext(file)[0] in collection_ids
    ]
    anth_ids_single, anth_ids_multiple = get_anth_ids(
        video_dir=video_dir, anth_id_style=anth_id_style, video_type=video_type
    )
    for file in xml_files:
        collection_id, extention = os.path.splitext(file)
        tree = et.parse(os.path.join(DATA_DIR, file))
        for anth_id in anth_ids_single:
            if collection_id in anth_id:
                add_video_tag_single(
                    anth_id=anth_id, xml_parse=tree, video_type=video_type
                )
                update_xml(
                    data_dir=DATA_DIR,
                    collection_id=collection_id,
                    extention=extention,
                    xml_tree=tree,
                )
        for anth_id_vid_num in anth_ids_multiple:
            anth_id = anth_id_vid_num[0]
            vid_num = anth_id_vid_num[1]
            if collection_id in anth_id:
                add_video_tag_multiple(anth_id=anth_id, vid_num=vid_num, xml_parse=tree)
                update_xml(
                    data_dir=DATA_DIR,
                    collection_id=collection_id,
                    extention=extention,
                    xml_tree=tree,
                )