Writes file after edit
Merge pull request #1 from JamesartJ/master

Writes file after edit