Added support for .wav and .ogg files