replace callbacks for Observable<Boolean> for checking path existence