private function fileGenerateTmp($compression = null)
    {
        $fileTmp     = null;
        $compression = 'none' == $compression ? null : $compression;
        while (true) {
            $fileTmpName = uniqid($this->getFileName($compression), true);
            $fileTmp     = sys_get_temp_dir().'/'.$fileTmpName;
            if (!file_exists($fileTmp)) {
                if (!$compression) {
                    $this->file->setTmp($fileTmp);
                    $this->setLogs($fileTmp, 'fileTmp');
                }
                break;
            }
        }

        return $fileTmp;
    }