syntax is file.puts "Hello World!"