Write export file for subsequent processes