public function moveFile($file, $model)
    {
        $path = $this->getUploadPath($model, $this->options);
        $this->makeDirectoryBeforeUpload($path, true);

        if ( ! is_null($this->elfinderFilePath) ) {
            $this->copy($this->elfinderFilePath, $path . '/' . $this->fileName);
        } else {
            $this->move($file, $path . '/' . $this->fileName);
        }

        return [
            'fileName'  => $this->fileName,
            'fileSize'  => $this->fileSize
        ];
    }