extracted templates to html files