How to access files from device storage?

How can I do something like in that I can select a video from the device
,which should be played by the editor media player?
So, for example something where a window opens and you can select the file there.

Thank you all for help:)

For file I/O you need to write some c++ or use a plugin that can handle it.

Ok, thank you.