I'm writing some Java code to loop through files with the same name in a folder with lots of subfolders, and do some logics on each file:
parentFolder/
subfolder1/file.txt
subfolder2/file.txt
subfolder3/file.txt
... ...
subfolderx/file.txt
above is the structure of what does it look like.
How would I do that?