Reader class implements RecursiveIterator
added ChainReader class