Current functionality: When we assign training to a user, and add an attachment, the following happens: A folder is created in the attachments directory with the following format: employee_id_##### A folder is created inside that folder with the following format: training_id_#### So if I am adding an attachment for employee id 45 for training id 101 it would look like this: employee_id_45\training_id_101\attachment_name.pdf The filename of the attachment is changed: if the original filename is "certificate.jpg" then the destination filename is: certificate.jpg The timestamp is in the format of: YYYYMM-DDHH-MMSS so the resulting filename is certificate_202502-2812-1200.jpg