Use vector instead of map to take io with same path into account