Accessing on-disk datastructures from a module