added file header and file version;

added gzip;