Compress the list of files and/or directories specified in files. Each file is compressed separately and a new file with a '.gz' extension is created. The original file is not touched. If rootdir is defined the compressed versions of the files are placed in this directory.