Hey @Molly
What you can also do is when you upload the files, you can preview them, and use segmentedControl to display the files, and then from there you can use a button that will trigger the query which will update the record by filtering out the selected file.
Here is how that would look like.
Hope this helps.