Horizontal photospheric flows trigger a filament eruption