Hello @dishasharma ,
Which type of file would you like to send, such as Excel, PDF, DOC, etc.?
Regarding personalization, what specific type of personalization are you looking to implement?
Information on creating a personalized file and attaching it can be found in the following documents:
https://experienceleague.adobe.com/docs/campaign-classic/using/sending-messages/personalizing-deliveries/generating-personalized-pdf-documents.html?lang=en
https://experienceleague.adobe.com/docs/campaign-classic/using/sending-messages/sending-emails/attaching-files.html?lang=en
Deleting a file from the server is not a significant issue. You can use JavaScript to achieve this. For example, you can read the list of file names from a folder and delete them with JavaScript.
This topic has been discussed in many posts, and you can find relevant information here: https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/delete-server-files-at-usr-local-neolane-nl6-var/td-p/278279
Best regards,
Parvesh