Open a file from the command line with a specified application path
Execute the command-line as per the following syntax:

open [-a application_path] file_path

i.e.

open -a /path/to/chosen_app.app file.txt.