Fixed bugs in getFilesFromM3u