Open the file while dragging the file to the program