Added error handling for when provided file is not a wav file.