Manipulating superconducting films with magnetic nanostripes