private PersistentHashMap<Key, T> createMap(final File file) throws IOException {
    FileUtil.createIfDoesntExist(file); //todo assert
    return new PersistentHashMap<>(file, myKeyDescriptor, myStateExternalizer);
  }
private PersistentHashMap<Key, T> createMap(final File file)