copier.copy(new File(FILE_CONFIG_DEFAULT),f);
}
} catch (ConfigurationException e) {
// if there is any error in config file (eg config file not exist),
// overwrite previous configuration file
copier.copy(new File(FILE_CONFIG_DEFAULT),f);
} catch (NoSuchElementException e) {
// overwrite previous configuration file if config file corrupted
copier.copy(new File(FILE_CONFIG_DEFAULT),f);