renameFile(streamsHolder.getPath());
StoreEventPublisher storeEventPublisher = getStoreEventPublisher();
if (storeEventPublisher != null) {
storeEventPublisher.publishEvent(new FileWrittenEvent(this, streamsHolder.getPath()));
}
streamsHolder = null;
}
}