fixed checkFilesExist() in GUI