Developing Bam file methods