create config tpl file