def METHOD_NAME(**kwargs):
    if kwargs["file"] is not None:
        options = kwargs["file"][:-4].replace("/", "_")
    elif kwargs["year"] is not None:
        options = kwargs["year"]
    else:
        options = "all"
    return options