There is no efficient way of random seeking in text file formats. This is because you cannot know the right offset in the file without reading all the contents before. The only way of processing these is sequential - from beginning to end.
So read and parse the entire file into some data structure in memory. Then use this structure instead of the file as needed.
If the file is too large to keep everything in memory (these days it's highly improbable), read through the file without storing everything in memory - instead store just file offsets to the beginning of each Mesh
in an array. Then you can easily seek to the right place.