public function renameFile()
    {
        $this->event(YouweFileManagerEvents::BEFORE_FILE_RENAMED);
        $target_full_path = $this->getTargetFile()->getFilepath(true);
        $this->getDriver()->renameFile($this->getCurrentFile(), $target_full_path);
        $this->resolveImage();
        $this->getCurrentFile()->updateFilepath($target_full_path);
        $this->event(YouweFileManagerEvents::AFTER_FILE_RENAMED);
    }