Mech m = mfp.getMech();
Entity m = mfp.getEntity();
    private boolean loadMechsFromDirectory(Vector vMechs, Set sKnownFiles, long lLastCheck, File fDir)    {        boolean bNeedsUpdate = false;        System.out.println("Looking in " + fDir.getPath());        String[] sa = fDir.list();        for (int x = 0; x < sa.length; x++) {            File f = new File(fDir, sa[x]);            if (f.equals(CACHE)) { continue; }            else if (f.isDirectory()) {                 // recursion is fun                if (loadMechsFromDirectory(vMechs, sKnownFiles, lLastCheck, f)) {                    bNeedsUpdate = true;                }            }            else {                if (f.lastModified() > lLastCheck || !sKnownFiles.contains(f.toString())) {                   try {                       System.out.println("Loading from " + f);                       MechFileParser mfp = new MechFileParser(f);                       Mech m = mfp.getMech();                       MechSummary ms = new MechSummary();                       ms.setName(m.getName());                       ms.setRef(m.getModel());                       ms.setSourceFile(f);                       ms.setYear(m.getYear());                       ms.setType(m.getTechLevel());                       ms.setTons((int)m.getWeight());                       ms.setBV(m.calculateBattleValue());                       vMechs.addElement(ms);                       sKnownFiles.add(f.toString());                       bNeedsUpdate = true;                   } catch (EntityLoadingException ex) {                       System.err.println("couldn't load file " + f.getName() + " : " + ex.getMessage());                       continue;                   }                }            }         }                return bNeedsUpdate;    }