char *cmd;
if (get_current_image(filen)) {
cmd = g_strdup_printf("gimp-remote -n %s &",filen);
cmd = g_strdup_printf("gimp-remote %s &",filen);
system(cmd);
g_free(cmd);
}