added function to get absolute path of audio file