Store/reuse a userfolder object?

Scenario: The user picks a folder with several resources. The user makes choices in a dialog that determine how the content is drawn.

if the user wants to run the plugin again with the same content from the file system but different settings, the plugin needs to remember the folder the user picked.

I’m kinda assuming that access to the file system is one a one-time basis. Now I’m wondering if I could store the userFolder object in pluginData and re-use it when the plugin runs again so the user doesn’t have to choose a folder of resources every time?

See Persist file references for a full discussion.