listFiles returns empty array not null when no files match the filter
Merge pull request #17 from arahuja/file-check-fix

listFiles returns empty array not null when no files match the filter