File.open("example.txt", "r") do |file| puts file.read end