def METHOD_NAME(
    localdir: str, restart_categories: RestartCategoriesConfig
) -> None:
    standard_restart_categories = RestartCategoriesConfig()
    files = os.listdir(localdir)
    for category_name in vars(restart_categories):
        disk_category = getattr(restart_categories, category_name)
        standard_category = getattr(standard_restart_categories, category_name)
        for file in [file for file in files if disk_category in file]:
            existing_filepath = os.path.join(localdir, file)
            standard_filepath = os.path.join(
                localdir, file.replace(disk_category, standard_category)
            )
            os.rename(existing_filepath, standard_filepath)