Programmatically change the Folder of the FileShare widget

I added the FileShare app so that Subcontractors can share pictures and plans for projects they are working on. I have dynamic Project pages and a folder in the Fileshare for each project. I would like to have a Fileshare widget on the dynamic project pages. However, I can’t figure out how to communicate with the Fileshare widget to change the folder programmatically.

Does anyone know if this is possible?

I have searched the docs and found how to query and filter the collection to find the correct Fileshare folder for the project but nothing about working with the widget.