Added functions to recognize zip and gzip from header