example of recording wifi signals to file.