RF-12224: fixed a multiple fileupload support that was accidentally breaked

- breaked in f936e60797c037643937f1eedbd2a60c0db242b9