def lines_from_file(path):
    """Returns a list containing each row of the file as a string.

    path: indicates the location of a text file.
    """
    with open(path) as f:
        return [line.strip() for line in f]