import codecs


def read_file_line(path):
    """
    Read all lines from file
    :param path: file path
    :return: list of lines
    """
    f = codecs.open(path, 'r', 'utf8')
    lines = f.readlines()
    f.close()
    return lines