defaults to curdir instead of /