How to handle files opened from the file explorer

How to handle files opened from the file explorer

This demo needs to run in its own window, not in an iframe.

Install the app. After the installation, try opening an image file from the file explorer with the app.