public function file(array &$submitted, array $options = array())
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateFile();
        $this->validateTitleFile();
        $this->validateDescription();
        $this->validateWeight();
        $this->validateTranslation();
        $this->validateUploadFile();
        $this->validatePathFile();
        $this->validateEntityFile();
        $this->validateEntityIdFile();
        $this->validateFileTypeFile();
        $this->validateMimeTypeFile();

        $this->unsetSubmitted('update');

        return $this->getResult();
    }