fixed handling of filename for writing condition-files in gui