A balanced k-way sort merge for sorting large files