Swap the arguments to writeFile: corrects the print output
Merge pull request #1 from jpfuentes2/jf_fix_writeFile_args

Swap the arguments to writeFile: corrects the print output