added bam reader to readObjectIO