Pump and bag containing a filter