add comments in hash_to_file.py