if (activityFile != null && activityNameIndex != -1 && latIndex != -1
&& lonIndex != -1 && timeIndex != -1) {
Debug.message("scenario", "Reading activity file...");
try {
CSVFile activities = new CSVFile(activityFile);
activities.loadData(); // numbers as strings == false
Iterator records = activities.iterator();
while (records.hasNext()) {
String name = null;
float lat;
float lon;