Configurable filter