so it can be both path or url. see #33