For Each File in Folder

Hi, I am using the For each file in folder activity as I need to pull all the files from a directory and all of it’s sub directories. It has worked for me on a couple of folders, but on others I am getting a character max limitation.
Is there any way around this as this for each file in folder is working exactly how I want it to.


output : List of Files.