Libraries anvil io File read

int read()
Reads next byte from file
string read(int amount)
Reads given amount of bytes from file.
Parameters amout -  Amount of bytes to read
Returns string, or int, or null if end of stream encountered (and no bytes could not be read before it).
Throws IOError -  If an I/O error occurs