changed gzip_handler to work with a list of files