Add event listener to download action

The purpose of this is to be able to trigger a listener when a file is downloaded.

Not sure if it's the right way to handle such a need and I'm open to discuss it :)