AD file generation and UI integration.