public function getFilePath($field = null, $name = null)
    {
        if ($this->pathCallback) {
            return call_user_func([$this->owner, $this->pathCallback]);
        }
        if (($name === null) && (!$name = $this->getFirstFileName())) {
            return false;
        }
        $storage = is_callable($this->storage)
            ? call_user_func($this->storage) : $this->storage;
        $field = $field ? '_' . preg_replace('/[^\-\w]+/', '', $field) : '';
        return \Yii::getAlias(
            $storage 
            . '/' . $this->fileField . $field
            . '/' . preg_replace('/[^\.\-\w]+/', '', $name)
        );
    }