handle command parameter in order to pass in a file path to open

We use the program agruments as the filename to the file to open.

Part of the UI improvements check list of #3