Open and read the entire file

Elementary example to open and read the entire file.

#import "File";

file_name := "hello_sailor.txt";
text, TF := read_entire_file(file_name);
if TF {
  print("File successfully read. Here are the file contents: \n%\n", text);
} else {
  print("Error. Cannot open file.\n");
}