start work on filter function for gzip