initial commit
Add hash writing to files