Added directory filter.

Signed-off-by: Christopher Baker <me@christopherbaker.net>
Added device filter.
Added link filter.