Putting attachments into folders based on the type.