 
       Serial.println();
       Serial.print(F("File check: "));
+
       if (prependedSize == bytesReceived && checksum == computedChecksum) {
+
         Serial.println(F("OK"));
+
       }
       else if (checksum != computedChecksum) {
+
         Serial.println(F("CHECKSUM ERROR!"));
+
+        Serial.println(F("Removing file"));
+        file.remove();
+
       }
       else if (prependedSize != bytesReceived) {
+
         Serial.println(F("SIZE ERROR!"));
+
+        Serial.println(F("Removing file"));
+        file.remove();
+
       }
 
       if (!client.connected()) {
+
         Serial.println(F("Disconecting"));
+
         client.stop();
       }
 

  if (updateCounter * 8 / 15 >= updateInterval)
  {
    updateNow = true;
  }
  // Quick Lock up watch Dawg.
  else if (updateCounter * 8 / 60 >= updateInterval)
  {
    resetFunc();
  }

      //Disable the SD card:
      pinMode(CHIP_SELECT, OUTPUT);
      digitalWrite(CHIP_SELECT, HIGH);

      Serial.println(F("Resetting..."));

      delay(200);
      resetFunc();

