Removed circular imports

Removed circular imports between helper_functions.py and write_files.py