How to fetch/scan mp3 files in device?

file input type doesn’t give us the exact path of the mp3 file on our device - for security reasons, they say!
So I want to know how to scan and fetch paths of mp3 files on our device?

I want to build a simple mp3 player for my own use and I’m stuck with this!!
Any help is highly appreciated.