write every 1000 lines to screen