save_to_html function

Generate and save HTML report