Added code to write to files
Merge branch 'master' of https://github.com/spencerbrett/web-apps