added MergeSamFiles