renamed zipDir to zip, as input parameters it accept file/list of files and current working directory