Solution to delete attachement.