The KPA must be able to deal with corrupted files without freezing/crashing sooner or later.
I'm no software engineer or developer, but I think it wouldn't be something too big to add some checking function, which would simply check if the profile loaded up is corrupted or not, and if it is, it would simply deny loading it, showing the user a message that the file is corrupted and can't be loaded, maybe also offering to delete the corrupted file. Would save many users from swearing and having to go through a lotta trouble with getting rid of a bad profile.