fit new file hashing api