Fixed template file mapping.