templates in external files