Moved the print to file to helper.py