data preparation for extracting the wave files