Added support for playing a wave file