Copy pageSnap snap_getFile Parameters pathstring The path to the file to retrieve.encoding"base64" | "hex" | "utf8" | undefined The encoding to use when retrieving the file. Returns string The result returned by the snap_getFile method.