Find the files in a directory by using filename
findFileByName('main.xml', '/path/to/dir')
Find the all files in a directory by using filename
findAllFileByName('main.xml', '/path/to/dir')
Find the all files in a directory by using extension(ex: xml,html,doc...etc)
findFileByPattern('*.xml', '/path/to/dir')