Changed to implement CharSequence for current input.
Fixed closing of included streams/readers