for i in $(cat myFile.txt); do echo $i; done

The above code executes a for loop and then echo’s out each line in the file myFile.txt