Loadfromfile counterpart for static archives

Hey, I am trying to load an exported module with c++ api, but I am only able to see LoadFromFile option for modules and Registry::Get for functions. Is there a counterpart for LoadFromFile when the module is exported as an archive instead of dynamic libraries?

I am using the following code to export the static archive at the moment but I doubt if it’s correct

with tvm.transform.PassContext(opt_level=3):
    lib = relay.build(mod, f"llvm --system-lib", params=params)
    lib.export_library("lib.a")