updated to yield a simple SAM file stem