Unpack the archive file based on its extension to the directory dir. If file is a cellstr, then all files will be handled individually. If dir is not specified, it defaults to the current directory. It returns a list of files unpacked. If a directory is in the file list, then the filetype to unpack must also be specified.
The files includes the entire path to the output files.