Filtration of gas and liquid