ULearningAgentsImitationTrainer::ExportToFile

Exports training materials to file, only performing work needed for the requested export flags.