What is the primary purpose of this code? PrintWriter writer = new PrintWriter("output.txt"); writer.println("Hello, world!"); writer.close();