Fix wrong function name to open a path