Combining Email attachments with custom binary file

I am trying to make a workflow which will extract the attachments from the email and also create a custom txt file which will contain the date, sender’s email, subject and body of the email. I have managed both, to extract the attachments and making the txt file but now facing problems while uploading the files into the respective folder for that email.

I want to name all other attachments same as their titles. How should I upload these files to the folder now?

I am new to n8n and your guidance would be very helpful for me in this case.