public read() as String throws IOException:
Reads all remaining text from the current reader position.
read() is a compact alias for readAllText().
read()
readAllText()
Remaining text.
try reader = FileReader("notes.txt", encoding="utf-8"): content = reader.read()