hashing of file is working