How to use File Chose Widget

hey,

I’d like to create a custom Component where the user chooses a local file. The selected file is then passed to a Python node which reads it (it’s a custom format file hence I need to read it programatically).

The File Chose Widget seems like a natural choice of the component but whatever I do in the configuration, I get the error

File item invalid. No path provided.

Am I using the wrong node?

thanks in advance