streamLocalFile each 1000 lines