Does the directory need to end with a trailing slash?