Changes for storing the wav file