New option: root. Used to trim the template name