          files = files.map(function (file) {
            var destination = path.join(options.path, file.path);
            // The destination path must not be outside options.path
            if (destination.indexOf(options.path) !== 0) {
              throw new Error('You cannot extract a file outside of the target path');
            }
            return file;
          });