export template files as resources