implemented reading signatures from gzip