{
String ext = infile.substring (infile.lastIndexOf(".") + 1);
if (ext.equals ("mzxml"))
mapper = new Map2DMZXML (new MSXMLParser (infile, true));
else if (ext.equals ("pl"))
mapper = new Map2DPL (new MountainList (new File (infile)));
else
err.add ("Don't know file format");
}
if (outfile == null)