Split files with multiple classes and document DebugMessageOutput