fromFile

Reads the file at path. Throws if it cannot be read, as in browsers, which have no file system; use fromString there.