public boolean deleteIfExists() throws IOException {
        Utils.closeQuietly(channel, "FileChannel");
        return Files.deleteIfExists(file.toPath());
    }
Delete this message set from the filesystem
@throws IOException if deletion fails due to an I/O error
@return  {@code true} if the file was deleted by this method; {@code false} if the file could not be deleted
         because it did not exist
clients/src/main/java/org/apache/kafka/common/record/FileRecords.java