private static boolean deleteFileIfExists(File file) throws IOException {
        return Files.deleteIfExists(file.toPath());
    }
Change the last modified time for this log segment
storage/src/main/java/org/apache/kafka/storage/internals/log/LogSegment.java