parse output for each 1000000 lines, changed reademe