Store directory pairs in map (arbitrary number of pairs).