Checks if a file was uploaded.
bool hasFile(String fieldName) => _uploadedFiles?.containsKey(fieldName) ?? false;