chapter 1: file merge sort