[BUGFIX] Check for file field type in UploadValidator

The upload validator will check all fields which have the type "file".
Before the validator checked for type "upload" which does not exist.

Resolves: #56735
Releases: 2.1
Change-Id: Ieec0abe943211d8a9f984444b67d45e016b05747