public void updateParentDir(File parentDir) {
        this.file = new File(parentDir, file.getName());
    }
Update the parent directory (to be used with caution since this does not reopen the file channel)
@param parentDir The new parent directory
clients/src/main/java/org/apache/kafka/common/record/FileRecords.java