def METHOD_NAME(runner, recipe_type):
    recipe_file_name = f"recipe_{recipe_type}"
    match = re.match(r"^avocado-runner-(.*)$", runner)
    if match:
        underlined = match.group(1).replace("-", "_")
        recipe_file_name += f"_{underlined}.json"
    else:
        recipe_file_name += ".json"
    return recipe_file_name