Renamed parse_registry() to module_registry_init() and make it take filename argument