src/vs/workbench/contrib/editSessions/browser/editSessionsFileSystemProvider.ts/EditSessionsFileSystemProvider/readFile
class EditSessionsFileSystemProvider:	async readFile(resource: URI): Promise<Uint8Array> {
		const match = /(?<ref>[^/]+)\/(?<folderName>[^/]+)\/(?<filePath>.*)/.exec(resource.path.substring(1));
		if (!match?.groups) {
			throw FileSystemProviderErrorCode.FileNotFound;
		}
		const { ref, folderName, filePath } = match.groups;
		const data = await this.editSessionsStorageService.read(ref);
		if (!data) {
			throw FileSystemProviderErrorCode.FileNotFound;
		}
		const change = data?.editSession.folders.find((f) => f.name === folderName)?.workingChanges.find((change) => change.relativeFilePath === filePath);
		if (!change || change.type === ChangeType.Deletion) {
			throw FileSystemProviderErrorCode.FileNotFound;
		}
		return decodeEditSessionFileContent(data.editSession.version, change.contents).buffer;
	}