Means for changing the porosity of a filter element, e.g. adjustment of a slit width, compression of a foam material