build html to file dump