+ if(m_pFile == NULL) {
+ printf("could not open file %s\n", Filename.c_str());
+ return;
+ }
+ string sIndex = Filename.append(".index").c_str();
+ FILE *pFileIndex = fopen(sIndex.c_str(), "rb");
+ if(pFileIndex == NULL) {
+ printf("could not open index file %s\n", sIndex.c_str());
+ return;
+ }