How to use jsb.fileUtils.listFilesRecursively method

does any one know what type can I use to pass to the second param of listFilesRecursively ?
I just want to list file recursively in javascript side.
is there alternative aproching?
thanks!