OK not the greatest title but this one is not too easy to put in a few words
i have a jpg file for example with a custom file extension of jjj for example
now i associate .jjj with my application so that when i click a .jjj file my application runs.
how do tell my application the filename and/or path of the .jjj file that opened it?