added check for .zip & unknown filetype error
creates archives for zip & gzip

added more error checking