ref #2 refactoring FileProof hash method