delete err file