UiPath Custom Activity to store files in MongoDB

Hi,

I am creating a custom activity and storing some data inside MongoDB. For that i created a class and simply passing the object of that class to store the data in the database. Now, I also want to store the file along with the data. Can anyone help me how to achieve it?