reformat html file