Update dan

Misread the tests, removing the same file name or clause.  Added more error handling in open_file to differentiate between unfound files and files that are not ".wav" files.