public function setFileToUpload($filename)
	{
		if ( !file_exists($filename) ) {
			throw new FileInputException(
				'File "' . $filename . '" doesn\'t exist',
				FileInputException::TYPE_FILE_NOT_FOUND
			);
		}

		$this->getWrappedElement()->attachFile($filename);

		return $this;
	}