That seems rather involved and complicated. Yeah the file extension is .hsh but when you double click what does your computer tell you? It should tell you that the extension isn't recognized, what program do you want to use to view it with. And you would most likely choose notepad.

Or you can just save it as a .txt file and eliminate any hassle. This is what i do anyways.

$iif(!$hget(user),hmake user)
$iif($file(lists\user.txt).shortfn,hload user $ifmatch)