localChmExtract.main(pathToFile, tmpDir);
AddDataToIndex AddDataToIndex = new AddDataToIndex(null);
fileContent = CHMParserFunctions.processUnpackedObjects(tmpDirForDeleting);
CHMParserFunctions.deleteDirectory(tmpDirForDeleting);
AddDataToIndex.doAddData(fileContent, pathToFile, fileName);
Vars.current_run_indexes--;
} catch (Exception ex) {
Vars.current_run_indexes--;
Vars.logger.fatal("Error: ", ex);