added getFiles to template engine to lookup available templates