added a use for attachment.Path