Receives data over a serial connection, displays data, and saves it to a txt file