- updating the dirReader to properly accept optional parameters
- adding more tests for the dirReader