shell script for loop list of files