private void RemoveDatabase(string folder_path)
{
string databasefile = Path.Combine(ConfigManager.CurrentConfig.ConfigPath, Path.GetFileName(folder_path) + ".cmissync");
if (File.Exists(databasefile))
{
File.Delete(databasefile);
Logger.Info("Removed database: " + databasefile);
}
}