added detection of animation type from the bam file name