I am letting my users select files from the music library. After which I am storing the path of the selected files locally. Now my problem is how do I get access to the file
First, make sure you have the proper capabilities set. The error you're getting is what you'd see if you didn't declare the right CAP_ID . Here is a screenshot:

Regarding file paths, depending where the file is stored, you may need to use the double-slash. I had a similar issue, I resolved by using the following approach:
"isostore:shared\\folderName\\NameOfFile.mp3"
You can see the whole process in my SO post here.