Added DeleteAttachment func