 #define clear_to_send ":"
 #define end_of_file "#"
 #define wifi_freq 10
-#define wifi_timeout 100
+#define wifi_timeout 20
 
 #define SEPARATOR ","
 

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

      delay(100);
    }

    String wifiIn("");
    while (wifiSerial.available()) {
      delay(100);
