FileReadingCollector: add support for directories and regex