fixed bug in new fileHashFn feature