bash loop over files in directory

Shell
#!/bin/bash
for filename in /Data/*.txt; do
    ...
done
Source

Also in Shell: