f = File::open("out1.txt", "w") f << "Hello World" f.close