f = new File(new File(System.getProperty("user.dir")).getCanonicalPath());
} catch (IOException e1) {
e1.printStackTrace();
}
fc.setCurrentDirectory(f);
fc.addChoosableFileFilter((xml_export.isSelected())?new XMLFilter():new SQLFilter());
int returnVal = fc.showOpenDialog(databases);
if(returnVal == JFileChooser.APPROVE_OPTION){
StringBuffer path = new StringBuffer();
path.append(fc.getCurrentDirectory());
path.append(System.getProperty("file.separator"));