File.foreach("example.txt") do |line| puts line end