     Serial.println("File names: ");
     for (int i = 0; i < MAX_MAPS; i++)
     {
-      if (map_file_names[i] != "")
+      if (map_file_names[i] != NULL)
       {
         Serial.println(map_file_names[i]);
       }

    // if the file didn't open, print an error:
    myFile.close();
    Serial.println("error opening map_defs.txt");
  }

  

  // Define serial connection to SD card
  // Attempt to load file
  // If file loaded, read waypoints into junction array and read file names into char* array
  // Update Origin global variable
  // Return the file name of the closest origin 
}


    
    // Free the memory allocated for the buffer    
    free(buffer);
    
    // Determine closest map to current location
    // Update Origin global variable
    
    free(map_latitudes);
    free(map_longitudes);
