+Changed file hash method to use stream cpp