public static File logFile(File dir, long offset, String suffix) {
        return new File(dir, filenamePrefixFromOffset(offset) + LOG_FILE_SUFFIX + suffix);
    }
Construct a log file name in the given dir with the given base offset and the given suffix.

@param dir    The directory in which the log will reside
@param offset The base offset of the log file
@param suffix The suffix to be appended to the file name (e.g. "", ".deleted", ".cleaned", ".swap", etc.)
storage/src/main/java/org/apache/kafka/storage/internals/log/LogFileUtils.java