How to use an argument from the command line to open a file?

Specman code to open a file passed to the e program from the command line, and allowing for the possible use of a default file name,
Specman code to open a file passed to the e program from the command line, and allowing for the possible use of a default file name,