a template for parsing html files