add filetype check, temporarily only support mp3,mp4