Update fileWriter
Merge pull request #2 from jeremy12/patch-1

Update fileWriter