def file_to_list(some_file):
    """
    Read a text file to a list, row by row.

    @param some_file: path of file to read
    @type some_file: string
    """
    with open(some_file) as fname:
        return fname.read().splitlines()