python 2.7 - write and read a list from file,out_file.write('\n'.join(data))