fix it to write to the same folder
Merge pull request #4 from Janarthanam/master

fix it to write to the same folder