Hello, I am currently trying to get all the files in a folder and delete all files that start with a specific string, but no matter what I do, I am getting nothing in the array when it finishes the scan even though there are files in the folder.
current setup
output when function runs
I would appreciate any help I could get