A BASS_ERROR_FILEFORM error indicates that BASS was able to open the file, but it was unable to recognise/handle the file's format. Please confirm what the file's format is, and how you're importing it into your app's sandbox. If you aren't already doing so, you could try using this class to do it...
https://bitbucket.org/artgillespie/tslibraryimport