log to file.  auto select csv if only one.