Added support for playing wavfiles