Split code into functions, export discordant reads in the caller for downstream processing (work on smaller bam file)