Further improvements on the hash name for the file.