The following command attempts to enumerate all *.txt files in the current directory and process them one by one:
*.txt
for line in \"find . -iname \'
More compact version working with spaces and newlines in the file name:
find . -iname '*.txt' -exec sh -c 'echo "{}" ; ls -l "{}"' \;