def METHOD_NAME():
    # load old file
    with open(OLD_FILE, "rb") as f:
        old_doctree: addnodes.document = pickle.load(f)
    # pick out config settings as best as possible
    config_settings: Dict[str, Tuple[str, str]] = dict()
    pick_config_settings(old_doctree, config_settings)
    redirects: Dict[str, str] = dict()
    seen_frags: Dict[str, List[str, str]] = dict()
    new_frags: Dict[str, List[str, str]] = dict()
    dupe_frags: Dict[str, List[str]] = dict()
    # for each new file:
    for new_file in NEW_FILES:
        filepath: str = "build/doctrees/configure/%s.doctree" % new_file
        # load new file
        with open(filepath, "rb") as f:
            doctree: addnodes.document = pickle.load(f)
        # pick out config settings
        doctree_config_settings: Dict[str, Tuple[str, str]] = dict()
        pick_config_settings(doctree, doctree_config_settings)
        for key in doctree_config_settings:
            if key in seen_frags:
                if key not in dupe_frags:
                    dupe_frags[key] = list()
                dupe_frags[key].append(new_file)
                seen_frags[key].append(new_file)
                continue
            else:
                seen_frags[key] = list()
                seen_frags[key].append(new_file)
            if key in config_settings:
                redirect_key = "configure/configuration-settings.html#%s" % key
                redirect_target = "https://docs.mattermost.com/configure/%s.html#%s" % (new_file, key)
                redirects[redirect_key] = redirect_target
            else:
                if key not in new_frags:
                    new_frags[key] = list()
                new_frags[key].append(new_file)
    # print redirects
    for redirect_key in redirects:
        print("\"%s\": \"%s\"," % (redirect_key, redirects[redirect_key]))
    # print dupe frags
    print("<<< Duplicate URL Fragments >>>")
    for key in dupe_frags:
        print("%s: [%s],%s" % (key, seen_frags[key][0], ",".join(dupe_frags[key])))
    # print new frags
    print("<<< New URL Fragments >>>")
    for key in new_frags:
        print("%s: %s" % (key, ",".join(new_frags[key])))