def METHOD_NAME(name_prefix, filename):
    r"""
    This is the naming convention for tables: Take a prefix,
    make sure that it does not violate SQL table requirements
    and prepend it to the name of the file.
    """
    file_name_wo_extension = os.path.splitext(filename)[0]
    # make scenario name compatible with oep requirements
    # (Names must consist of lowercase alpha-numeric words or underscores
    # and start with a letter and must be have a maximumlength of 50)
    name_prefix = name_prefix.replace("-", "_").lower()
    return f"{name_prefix}_{file_name_wo_extension}"