added code for sequentially reader and writing wav files