Removed unused imports, changed so the byte array sent to client is from
loadwavfile instead of loadaudiofile.