def read_lines(path):
    """Reads all lines from the specified file.

    :param path: (str) path to a file.
    :return: (list[str]) list of lines in the file.
    """
    f = open(path, 'r')
    return f.readlines()