load the batch_num data and write it to the data batch file.