How can I retrieve the file path and file name of the file who is double-clicked and who open my application ?

If it is possible, I need a working example !

Thanks !