reworked gui in case file does not exist