public function file(string $index) : self { $validator = new Validator\Upload(); $file = new Upload($index); $this->check($file, $index)->validate($validator)->filter($validator); return $this; }