Filamentary plasma eruptions in tokamaks