read template