Implement function to check whether a music file