JFrog Interview Question

Write a function that gets dir folder and match string and print all string matches