Dynamic control of magnetic nanowires by light-induced domain-wall kickoffs.