added enclose to pack files into a directory, and unpack to remove those files from the directory