UXP Photoshop: Drag and Drop external CSV file

Hi everyone,

I have a Photoshop UXP plugin where the user can select a CSV file but want to enable them to drag and drop the file instead of choosing it manually. Is it possible? I’ve tried everything but no luck so far.

Thanks!