added getdumpread/writer