Added file output for RX debug