def __write_to_file(file_path, items):
    with open(file_path, 'w') as f:
        for item in items:
            f.write(f'''{item}
''')
def __write_to_file(file_path, items):
    with open(file_path, 'w') as f:
        for item in items:
            f.write(f'{item}
')