use expanded path to sam file