f.mkdir();
f.mkdirs();
    public void configure(Configuration config, Properties properties) throws EXistException {         dest = properties.getProperty("output-dir", "backup");        File f = new File(dest);        if (!f.isAbsolute()) {            dest = (String)config.getProperty("db-connection.data-dir") +                File.separatorChar + dest;            f = new File(dest);        }        if (f.exists() && !(f.canWrite() && f.isDirectory()))            throw new EXistException("Cannot write backup files to " + f.getAbsolutePath() +                    ". It should be a writable directory.");        else            f.mkdir();        dest = f.getAbsolutePath();        LOG.debug("Setting backup data directory: " + dest);    }