Pretty simple question , Suppose I have a large file,
My purpose is to read every 200 lines and make some process on different thread. The File is pretty long so the last thread won't get exactly 200 lines.

I thought something about: ( but didn't get how to solve the remaining last chunk....)

```
String[] chunk = new String[200];
        int count = 0;
        String line = null;
        while ((line = bufferedReader.readLine()) != null) {
            chunk[count % chunk.length] = line;
            count++;
            if (count % chunk.length == 0) {
                exec.execute(new Runnable() {

                    @Override
                    public void run() {
                        // TODO process what ever

                    }
                });
            }

        }

```

PORPOSE:
Write code to handle each Chunk of lines on different thread with consideration of last chunk , with the best performance/optimization.

P.S - not to read tho whole file first and store in memory chunked...I think do it during iteration...