public void close() {
        try {
            super.close();
            Files.deleteIfExists(file.toPath());
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
File reference data stored in a temporary file that will be deleted when {@link #close()} is called.
filedistribution/src/main/java/com/yahoo/vespa/filedistribution/LazyTemporaryStorageFileReferenceData.java