Title: 2-D Magnetohydrostatic Configurations Leading to Flares or Quiescent Filament Eruptions