added .wav detection