RandomAccessFile raf = new RandomAccessFile(new File(file.getAbsolutePath()), "r");
raf = new RandomAccessFile(new File(file.getAbsolutePath()), "r");
    protected Vector getEntries() throws IOException {        Vector entries = new Vector();        try {            RandomAccessFile raf = new RandomAccessFile(new File(file.getAbsolutePath()), "r");            int start = 16;            if ("nrg".equals(getExtension())) {                start += 150;                sector_offset = -150;            }            isoPvd pvd = null;            int level = 0;            for (int i = 1; i < 3; i++) {  // fuzzy search, can have type=0 (bootable el torito), type=2 (svd)                pvd = new isoPvd(raf, start + i, cooked);                if (pvd.type[0] == 2 && pvd.id[0] == 'C' && pvd.id[1] == 'D' && pvd.id[2] == '0' && pvd.id[3] == '0' && pvd.id[4] == '1')                {                    // gotta read docs a little more about those UCS-2 Escape Sequences                    switch (pvd.unused3[2]) {                        case 0x40:                            level = 1;                            break;                        case 0x43:                            level = 2;                            break;                        case 0x45:                            level = 3;                    }                    break;                }            }            if (level == 0) // if no SVD with Joliet, fallback to plain-old ISO9660                pvd = new isoPvd(raf, start, cooked);            isoDr idr = new isoDr(pvd.root_directory_record, 0);            parse_dir("", isonum_733(idr.extent), isonum_733(idr.size), raf, entries, cooked, level);            todo td = todo_idr;            while (td != null) {                parse_dir(td.name, td.extent, td.length, raf, entries, cooked, level);                td = td.next;            }        } catch (Exception e) {            if (com.mucommander.Debug.ON) {                com.mucommander.Debug.trace("Exception caught while parsing iso, throwing IOException");                e.printStackTrace();            }            throw new IOException();        }        return entries;    }