refinements to directory path traversal