Generates a file containing file hashes