delete package witer and reader