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