read filename from 1st argument; starting to implement proper WAV header reading