added writing filters and their parameters