protected void loadIndexes(File indexFile) throws IOException {
BufferedReader reader = null;
m_writeLock.lock();
try {
reader = new BufferedReader(new FileReader(indexFile));
StringSplitter splitter = Splitters.by('\t');
while (true) {
String line = reader.readLine();
if (line == null) { // EOF
break;
}
List<String> parts = splitter.split(line);
if (parts.size() >= 2) {
String id = parts.remove(0);
String offset = parts.remove(0);