Hi @rohit_kumar6
Use currentText.ToString to print the file names and make sure the Type Argument of For Each is String.
currentText.ToString
Regards