delete unnecessary template files