add file hashing functions