Bash read file names from a text file and take action

Originally published at: https://www.cyberciti.biz/faq/bash-read-file-names-from-a-text-file-and-take-action/

I need to read a list of file names from a text file named input.txt and take action each file name. How do I read file names from a text file and say run /bin/foo command on each file? How do I read filenames from a text file and take certain action on those files?