def export_rft(text, out_path):
    """
	Write the modified text to a file.
	"""
    with open(out_path, 'w') as outfile:
        outfile.write(text)
    print('Modified topoly file written to {}'.format(out_path))
