added zip function for an arbitrary number of files