chmAddTemplate-method function

Add a file template to the NGCHM.