[Anjali] Fixed the issue with incorrect reading of .wav files, Added test directory for checking valid and invalid directories
Commiting updated code for fixing .wav files check