introduce CSV header, footer filter in the routing