import shutil names = ['EnvPen_1.txt', 'EnvSind_1.txt'] with open('Final.txt', 'a') as final_file: for name in names: with open(name, 'r') as source_file: final_file.write(source_file.read())