Use the registry for file handlers

- Fix world group imports not writing correctly