But do you need to generate an html file in the user's working directory? Can't this be a standard thing that is installed into the source tree and you just load it?