Changed agent.read to handle big data.

fixing for issue #33