preparing the html file