protected function addFile()
    {
        $this->controlAccess('file_add');

        if ($this->file->add($this->getSubmitted())) {
            $this->redirect('admin/content/file', $this->text('File has been added'), 'success');
        }

        $this->redirect('', $this->text('File has not been added'), 'warning');
    }