for in in MY_FILES/*.txt; do perl ...... $i; done