 
 void DataReady();
 extern bool DataAvailable;
-
-File myFile;
 
 // change this to match your SD shield or module;
 //     Arduino Ethernet shield: pin 4

      }
      token = strtok(NULL, delimiter);
    }
    Serial.println("Latitudes: ");
    for (int i = 0; i < MAX_MAPS; i++)
    {


    // Set up storage for coordinates and file names
    // Note: we malloc here because the stack is too small
        Serial.print("Before select map array malloc freeMemory()=");
        Serial.println(freeMemory());

    float* map_latitudes = (float*)malloc(MAX_MAPS * 4);
    float* map_longitudes = (float*)malloc(MAX_MAPS * 4);
    char** map_file_names = (char**)malloc(MAX_MAPS * sizeof(char*)); 

    for(int i = 0; i < MAX_MAPS; i++)
    {
      // initialize using invalid values so that we can ensure valid data in allocated memory
