Hi,
Inside foreach loop, you need use under source file name parameter
@item().name
This will be bringing the filename of each file while the loop iterates through files.
You may refer this video, which does something similar.
Please write, in case you need more clarity.