It appears to only consider the current working directory, but should use the file itself (and its parent directories) instead.