Among other things, you can use this Mac app to link files and folders to OmniFocus tasks. Hookmark does a good job of keeping the link functional, even if the file/folder is moved or renamed.
Hookmark is available directly from the developer and is included with Setapp.
p.s. There’s a page dedicated to using Hookmark with OmniFocus on my Learn OmniFocus site:
I suggest that the link should simply be the application name followed by the file that should be opened.
org://Users/me/Downloads/checkfile.org
I am not familiar with “org” as an application to verify this approach will work with it. The approach does work for me with the application Curio.