def read_list_from_file(filename):
    """ Reads a file with table/file names in it and returns a list of the names """
    names = []
    with open(filename, 'r') as file:
        for line in file:
            line = line.strip()
            if line != '':
                names.append(line)
    return names