extract template file