     Serial.println("initialization failed!");
   }
   Serial.println("initialization done.");
-  String nearestMap = String(SelectMap(Origin,"map_defs.txt"));
-  LoadMap("MAP000.txt");
+  char* nearestMap = SelectMap(Origin,"map_defs.txt");
+  LoadMap("MAP000.txt"); //LoadMap(nearestMap);
   
      ConstructNetwork(Nodes, map_points);
      


void DataReady();
extern bool DataAvailable;

File myFile;

// change this to match your SD shield or module;
//     Arduino Ethernet shield: pin 4

{
  // open the file. note that only one file can be open at a time,
  // so you have to close this one before opening another.
  File myFile = SD.open(fileName, FILE_READ);
  
  // if the file opened okay, read from it:
  if (myFile) {
