Simplify file_hash.