read method
Implementation
@override
Future<Stream<List<int>>> read(String name, Version version) {
final packageFile = File("data/packages/$name/$version/package.tar.gz");
if (!packageFile.existsSync()) {
throw Exception("Package not found for $name $version");
}
return Future.value(packageFile.openRead());
}