If you need to do a lot a lot more then only one command termed For each file, you could be a great deal more versatile with for loop. For example if you prefer to to print filename and it contents Automated pet feeders: Controlled by way of smartphone, automatic https://medium.com/@aariagg123/why-my-cat-hated-every-litter-box-until-i-switched-to-tofu-cat-litter-1d3b2bf96c40