initial testing version of logger (infile to com1 to com2 to outfile &
plot)