I already know, how to get the line I want from a text file. This line I get tells me two numbers: <starting byte> and <length of record>. The thing is, that I have one index file, where each record is one line (so it's simple to find the right line using grep command), but the other file is...