read contents also using chunks