Completing DirReader and adding example test

The example also appears in the documentation -- awesome!