function readTextFile readTextFile(path: string | URL): Task<string, ReadFileError> Reads an entire file as a UTF-8 string. Parameters path: string | URL Return Type Task<string, ReadFileError>