public ClickHouseFile getUnderlyingFile() {
        return stream instanceof ClickHouseFile ? ((ClickHouseFile) stream) : ClickHouseFile.NULL;
    }
Gets underlying file.

@return non-null underlying file
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseOutputStream.java