base hash on file contents - fix example app

Fix for #31