Fixed bugs, needs files to be uploaded to mendeley.

Files should be added to the documents in the mendeley library while
exporting.