use full filename with extra tmpl extension to indicate its template