System.err.println("IOError reading " + home + sep + props + " : " + ioe);
System.err.println("IOError reading " + file + " : " + ioe);
    private static Properties readPreferences() {        // Properties work as follows :        //    Read the defaults from the .jar.        //    Then look for a props file in the user's home directory, and load it if it exists                String sep = System.getProperty("file.separator");        String props = "WebScarab.properties";        String home = System.getProperty("user.home");        InputStream is = null;                Properties defaults = new Properties();        is = ClassLoader.getSystemResourceAsStream(props);        if (is == null) {            System.err.println("No WebScarab.properties in the .jar!");        } else {            try {                defaults.load(is);            } catch (IOException ioe) {                System.err.println("Error reading default properties file " + ioe);            }        }                Properties homeProps = new Properties(defaults);        try {            is = new FileInputStream(home + sep + props);            try {                homeProps.load(is);            } catch (IOException ioe) {                System.err.println("IOError reading " + home + sep + props + " : " + ioe);            }        } catch (FileNotFoundException fnfe) {            System.err.println("No user properties file found");        }        return homeProps;    }