Thanks Stack Overflow:
http://stackoverflow.com/questions/18864530/how-to-fetch-a-set-of-pages-as-a-stream