public void addFile(final VirtualFile file, final String branch, final boolean recursive) {
    // without optimization here
    myMap.put(file, new Pair<>(recursive, branch));
  }
public void addFile(final VirtualFile file, final String branch, final boolean recursive)