Check if file exists

I have a demo with a uploaded csv, for visualization. However I’d like a user to be able to then upload their own file to replace the visualization with their own data.

What is the best way to do this?

I’ve tried something along these lines (How to test if a notebook exists) with no luck.

This notebook provides a file input widget that supports a default value:

Perfect! Thanks