use template variables in files