// Open the file in text reading mode int fileID = open("world.txt", "r"); // Read from the file string text = read(fileID); // Close the file close(fileID); // Display the read content print(text);