I would like to mention something when you try to store your data make sure
as an example below you are decoding that buffer into a UTF-8 string
const originalName = Buffer.from(file.originalname, 'binary').toString( 'utf-8', );