merging all the sequential files by using loser tree(2).