public function getFile(string $name) : ?UploadedFile
    {
        $file = $this->resolvePath($this->files, $name);

        if ($file instanceof UploadedFile) {
            return $file;
        }

        return null;
    }