def remove_split_from_name(name):
    """
    if last part of name is _split__###
    return: name - "split"

    Else, return: name
    """
    if name[-15:-7] == "_split__":
        return name[:-15] + ".csv"
    else:
        return name