The document 'library.enl' could not be opened

It seems that my enl file is broken, as endnote show “The document ‘library.enl’ could not be opened”. But I still can see the content of the file with vim. I’m wondering if there is a way to fix it.

Have you moved the enl file in relation to the the original .DATA folder?  Do you have the .DATA folder (somewhere else).  If so, I recommend moving the current .enl file elewhere, and creating a  new “libraryname”.enl file with notepad or some other non-word processing program in that folder (i.e. if you have ypsd.DATA create an empty document called ypsd.enl in the same folder (not IN the DATA folder).  Now open the new .enl file.  Does it reconstruct your library?