Extract xml config template to separate file