-Changed file pattern validation in file filter
-Changed string pattern verification in _isDirectory