Future<String?> extractAsUtf8(String filename) async { final stream = await extractStream(filename); if (stream == null) return null; return stream.transform(utf8.decoder).join(); }