support loading gzipped data