add in a default file hash and cleaned up init function a bit

#263