Saving received signals in capture.txt text file