Use a module to manage the file export