def read_file(file):
    """
    Read text from file
    :param file: input file path
    :return: text - text content in input file
    """
    with open(file, 'r') as f:
        text = f.readlines()
    return text