There is no code here to handle that. your code starting code which launches this window, is passed arguments if you opened the file by double clicking after associating it with the file. You need to read those arguments and pass the file path through so that this code auto opens it.
Here[
^]