How to use ListFile to get all files with prefix

Hi everyone.

How do I use listFile to get all files with a specific name?

ie. file01.json, file02.json, state.json, cars.json
I would like to load user profile and get user data from all files starting with ‘file’

You’ll need to filter by prefix with the listFiles callback argument.

Hey Jude, thank you.

Could you share an example? :slight_smile: