def get_list_from_file(file_name):
with open(file_name, mode='<STR_LIT:r>', encoding='<STR_LIT:utf-8>') as f1:<EOL><INDENT>lst = f1.readlines()<EOL><DEDENT>return lst<EOL>
read the lines from a file into a list