Is this another filemaker file?
Maybe use the openurl script step. The only other way is to do a send event or applescript with the file name concatenated in.
The "open file" script step only handles filemaker files that you've added as a data source. Which is possible for your use case only if you program a large chain of if/else if script steps.
thank Mike ... I will use the not so lengthy IF ELSE ...