Make a Dictionary of files in ZipFile indexed by filename

I was hoping this would work, but get all sorts of weird stuff.

using ZipFile
z = ZipFile.Reader(archive_filepath)
files = z.files
iter = (f -> => f for f in files) # which is Base.Generator{Vector{ZipFile.ReadableFile},
d_by_name = Dict(iter)

was hoping for

getting error:
LoadError: ArgumentError: Dict(kv): kv needs to be an iterator of tuples or pairs

I am totally lost…

ZipFile documentation seems very incomplete…

Looks like I was over-wrapping the iterator. Dict() seems specialized.
This works

using ZipFile
z = ZipFile.Reader(archive_filepath)
z_by_name = Dict( => f for f in z.files)