Shape of a recoiling liquid filament