Adding SequenceUtil
Simplifying S3InputStream