Added caching stream reader