boolean temp = false; if ((tmpf = new File(tmp)).exists()
if (!(tmp == null) && (tmpf = new File(tmp)).exists()
    public Rom requestOrgRomFile(String romType)    {        String tmp;        File tmpf;        if ((tmp = this.getPrefs().getValue(romType + ".expRomPath")) == null            || !(tmpf = new File(tmp)).exists())        {            //if orgRomPath from old version set, use it            boolean temp = false;            if ((tmpf = new File(tmp)).exists()                && ((tmp = this.getPrefs().getValue(romType + ".orgRomPath")) != null))            {                return orgRomToExp(romType);            }            this.getPrefs().setValue(                romType + ".expRomPath",                (tmpf = getFile("Select a unmodified or expanded " + romType                    + " ROM.", true)).toString());            if (romType.equals("Earthbound")                && tmpf.length() == Rom.EB_ROM_SIZE_REGULAR)            {                this.getPrefs().setValue(romType + ".orgRomPath",                    tmpf.toString());                return orgRomToExp(romType);            }        }        System.out.println((new File(getPrefs().getValue(            romType + ".expRomPath")).length())            + " == " + Rom.EB_ROM_SIZE_REGULAR + "; romType = " + romType);        if (romType.equals("Earthbound")            && new File(getPrefs().getValue(romType + ".expRomPath")).length() == Rom.EB_ROM_SIZE_REGULAR)        {            System.out                .println("Exp rom not actually expanded. Bug in previous versions.");            this.getPrefs().setValue(romType + ".orgRomPath",                getPrefs().getValue(romType + ".expRomPath"));            this.getPrefs().removeValue(romType + ".expRomPath");            return orgRomToExp(romType);        }        //null means expRomPath is set to something valid        return null;    }