I'm making a file upload system where the user can upload a folder of files/folder. I have my code to recognize the files when you drop them onto a div box.

it goes through each one to check if...