add symlink magic to bam files