Re-enable export file tagging. No idea why this code has dropped out at some stage...