String toWrite = relPath.toUri().getPath() + " dir none 0 0";
for(int i = 0; i < _imageCount; i++) {
toWrite += " image_" + i;
}
toWrite += "\n";
indexHash.add(new HARIndexContainer(HarFileSystem.getHarHash(relPath), toWrite));
// try to create index files
Path masterIndex = new Path(_file_path, "_masterindex");
Path index = new Path(_file_path, "_index");