The current code snippet will match the pattern and list out all matching pattern files present in directory specified where in below example File