rename 'template' setting to 'templatefile' #103