Implement export file generation