It scans files and directories, and provide an iterator on the FileEntities
generated based on the results.
Example usage:
$Reader = new Reader();
$Reader->in('/path/to/directory')
->exclude('tests')
->extensions(array('jpg', 'xml));
Throws an exception if no file found
$first = $Reader->first();
Returns null if no file found
$first = $Reader->getOneOrNull();
foreach($Reader as $entity)
{
Do your logic with FileEntity
}