move read_inputfile() to util.c
start replacing DATAW calls with send_data_frame() calls
remove write_dataw() function
cleanup
cleanup
add 'bitswap data' option to send_data_frame()
simplify readout_seq()
cleanup