static string ReadFileText(string filename)

string filename Path to the file. Not affected by Assets folder path.
RETURNS: string A UTF-8 encoded string if successful, null if not.

Reads the entire contents of the file as a UTF-8 string, taking advantage of any permissions that may have been granted by Platform.FilePicker. Returns null on failure.

Found an issue with these docs, or have some additional questions? Create an Issue on Github!