def read_file(datafile):
    """
    Reads the content of a file and splits the line content into a list
    """
    content = []
    with open(datafile, encoding='utf8') as f:
        for line in f:
                content.append(line.split())
        f.close()
    return content