for i in $( ls files/*.txt ); do echo $i done