map -package:bytestring -package:filepath -package:charset is:exact -package:imports package:foldl

Fold pairs into a map.