Move catch exception from FileOpener to DirReader

* Add test
* Revert catch exception in FileOpener
* Add catch exception in DirReader