    # File lib/facets/more/minitar.rb, line 963
        def unpack(src, dest, files = [], &block)
          Input.open(src) do |inp|
            if File.exist?(dest) and (not dir?(dest))
              raise "Can't unpack to a non-directory."
            elsif not File.exist?(dest)
              FileUtils.mkdir_p(dest)
            end

            inp.each do |entry|
              if files.empty? or files.include?(entry.full_name)
                inp.extract_entry(dest, entry, &block)
              end
            end
          end
        end