If you have a list of files, you can iterate over this list with tFileList component.
Then for each file, you will get the name using associated global variables ((String)globalMap.get("tFileList_1_CURRENT_FILE")) or ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))