Added gzip file loading support.