$this->validatorSchema['file_name'] = new sfValidatorFile(array('required' => true,'path' => sfConfig::get('sf_upload_dir').DIRECTORY_SEPARATOR.sfConfig::get('app_dir_file_sharing').DIRECTORY_SEPARATOR,'mime_type_guessers' => array('guessFromFileinfo'),'mime_types' => array('application/msword', 'application/vnd.ms-word', 'application/msword', 'application/msword; charset=binary')), array( 'invalid' => 'Invalid file.', 'required' => 'Select a file to upload.', 'mime_types' => 'The file must be a supported type.'));