}
private static void processFile(File file, boolean gpx, boolean xol,
boolean ele, double epsilon, File baseDir) throws Exception {
File dir = file.getParentFile();
TrackPoint trk[];
String name = file.getName();
if (name.toLowerCase().endsWith(".xol")) {
trk = XolReader.readTrack(file);
} else {
trk = GpxReader.readTrack(file);