Allowing filtering of directory and file contents.

This makes for more efficient queries when using tree browsing clients.
Now testing for invalid links on *nix systems.