private File createTemporalFile(int taskId) {
        try {
            java.nio.file.Path temp = Files.createTempFile("repdb", ".orc");
            LOG.info("Temporal file path: " + temp.toAbsolutePath());
            // Save the path of temp file
            setTempFilePath(taskId, temp.toAbsolutePath().toString());
            return temp.toFile();
        } catch (IOException e) {
            LOG.error(e);
        }
        return null;
    }
This class manages the reading and writing ORC files.
src/main/java/org/replicadb/manager/file/OrcFileManager.java