Launch folderitem with specific app

In simpler times I checked if Filemaker was already running. If it was not running then the app was started. Then I called

folderitem.launch

on the file that my app needs to talk to. This has worked fine for a long time. Of course, I have multiple versions of Filemaker on my computer. For newer versions of Filemaker this now starts another copy of Filemaker. Which screws up my app.

So the question is: can I tell the folderitem with which application it should be started?

Use a shell and call

path/to/binary folderitem.shellpath