 
 String dumpUsbOutput()
 {
-    if (usbDev.available() && Serial) {
+    if (usbDev.available()) {
     String fromUsb = "";
     while (usbDev.available()) {
       char readC = usbDev.read();

  writeCommand += '\r';
  writeCommand += data;
  usbDeviceWrite(writeCommand);

  if (++write2fileCount >= USB_WRITE_MANUAL_FLUSH_RATE) {
    Serial.println("Manually closing & reopening datafile.");

void usbOpenFile4Write(const String& filename)
{
  usbDeviceWrite("OPW " + filename + "\r");
  delay(200);
  dumpUsbOutput();
}

