support gzipped  csv