Get template files properly.