Merge multiple sorted files