MaJ 2410
Adding the control and return of the type of SAM or BAM (binary or not) in the CheckSAMorBAM