fix setFile() (#13)
#32
#32
update newWave(): move file after wave header check
update newWave()