Hello,
In Universal File Viewer widget, under Data source you need to map the File name & file object/entity.
For more details go through the documentation of Universal File Viewer widget https://marketplace.mendix.com/link/component/116935
Hope it helps!