Mongodb Realm file,react and electronjs

Please someone should point me to where I can get information about file upload eg video,audio, pdf etc, in mongodb realm.

I’m developing an electron app with realm as locally embedded database. I don’t I tend to do any sync for now to online atlas and or mongo dB online

I have successfully made complete CRUD functions of normal documents objects

Please how do I make file upload to realm using GidFs or any file manager for realm… help…thanks