//Below is the piece of code, where i am trying to find file with matching pattern from directory path //provided.
//for example to list pattern matching files from /