Library damaged error message

I seem to have solved this by copying each of my many Endnote files, then renaming them (keeping the same “.enl” suffix), then opening the renamed file, then saving them as the original file (ie overwriting the original file). Tedious, and I hope it doesn’t keep happening!