Automatic merging of split paired files