protected function replaceFileUpload(&$stub, array $fields)
    {
        $code = $this->containsfile($fields) ? $this->getFileUploadAttribute($this->getTemplateName()) : '';

        return $this->replaceTemplate('upload_files', $code, $stub);
    }