default_inf = (MechEntry)exact.get(INF_STRING);
    public void loadFromFile(String filename) {        try {            // make inpustream for board            Reader r = new BufferedReader(new FileReader("data/mex/" + filename));            // read board, looking for "size"            StreamTokenizer st = new StreamTokenizer(r);            st.eolIsSignificant(true);            st.commentChar('#');            st.quoteChar('"');            st.wordChars('_', '_');            while(st.nextToken() != StreamTokenizer.TT_EOF) {                String model = null;                String imageName = null;                if(st.ttype == StreamTokenizer.TT_WORD && st.sval.equalsIgnoreCase("mech")) {                    st.nextToken();                    model = st.sval;                    st.nextToken();                    imageName = st.sval;                    // add to list                    addEntry(model, imageName);                 }            }            r.close();        } catch (IOException ex) {            ;        }                default_light = (MechEntry)exact.get(LIGHT_STRING);        default_medium = (MechEntry)exact.get(MEDIUM_STRING);        default_heavy = (MechEntry)exact.get(HEAVY_STRING);        default_assault = (MechEntry)exact.get(ASSAULT_STRING);        default_quad = (MechEntry)exact.get(QUAD_STRING);        default_tank = (MechEntry)exact.get(TANK_STRING);    }