def tableName(line):
    """ Generate the name of the table. """
    words = line.split()

    tableNum = words[1].replace(":", "")
    tname = "Table" + tableNum
    for w in words[2:]:
        tname += "-" + w
    tname += ".csv"

    return tname