 
 
 void handleFileUpload() {
+  if(server.uri() != "/upload") return;
   Serial.println("handleFileUpload()"); 
-  if(server.uri() != "/upload") return;
   HTTPUpload& upload = server.upload();
   if(upload.status == UPLOAD_FILE_START){
-    String filename = upload.filename;
+    filename = upload.filename;
     filename = "/payloads/"+filename;
     Serial.print("Uploading file "); 
-    Serial.print(filename+" ... ");
+    Serial.println(filename);
     fsUploadFile = SPIFFS.open(filename, "w");
-    filename = String();
   }
   else if(upload.status == UPLOAD_FILE_WRITE){
     if(fsUploadFile)

    EnterLVPmode();
    CmdResetAddress();
    DumpConfig(tmps);
    RESET_HIGH;
    strcpy(html,"<h1>CONFIG AREAS</h1><tt>");
    strcat(html,tmps);

}


//File UploadFile;
String filename;
File fsUploadFile;
//String webString;

//
//
