support for writing files to disk
Merge pull request #29 from FredrikL/savechanges

Support for writing files to disk