I have a piece of code as.

```
File file = new File(path);
FileReader fr = new FileReader(file);
BufferedReader br = new BufferedReader(fr);
String temp;
StringBuffer sb=new StringBuffer();
while((temp=br.readLine())!=null){          
   sb.append(temp);
   sb.append(" ");
}

```

This would read every line from a file and store it in a StringBuffer. My file is quite huge, and I have a requirement to multi-thread it so that processing would be faster.
Is there a way to say like I want only 1/4th of the file to be written into the buffer? 

I know that I can't say this. But I want something equivalent to this.

```
for(int i=0; i<reader.length/4; i++)

```