Don't use read_file(). Use fopen(), fgets(), and fclose(). See a file tutorial.
You can't use a variable as a case. It must be a constant. To me, it looks like you don't even need a switch. If you just pass the sound name as the "data" parameter in the add menu item function then you can just use that for the command to play the sound.