       delay(100);
     }
 
-#if DEBUG
-    if (wifiSerial.available()) {
-      print_debug(5); //WiFi available
-    } else {
-      print_debug(8); //WiFi not available
-    }
-#endif
     String wifiIn("");
     while (wifiSerial.available()) {
       delay(100);

    }
    if (wifiIn == clear_to_send) {
      send_data();
    }
  }


    a = char(data_file.read());
    wifiSerial.write(a);
    delay(5);
  }
  wifiSerial.write(end_of_file);
  data_file.close();
