PigStorage storage = new PigStorage(":");
LocalSeekableInputStream is =
new LocalSeekableInputStream( testFile );
CBZip2InputStream bzis = new CBZip2InputStream( is );
BufferedPositionedInputStream bpis =
new BufferedPositionedInputStream( bzis );
storage.bindTo(testFile.getName(), bpis, 0, testFile.length());
// Skip till middle of a line
storage.skip( (text.length() + 1 )
* (LOOP_COUNT/2) + text.length()/2 );