input bam file deletion is now configurable