Kernighan and Plauger write:

A surprising number of programs have one input, one output, and perform a useful transformation on data as it passes through. We call such programs filters.