Create subfolders for attachments based on custom pattern-1