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

I would feel better if it was, *technically* it doesnt need to be, because in most of our uses, no longer needing the node means closing down the program and letting the operating system clean up, but Im always slightly paranoid