This Windows Powershell script converts an existeing multifile ovpn configuration tunnel to an inline version. It also exports to the McOS Viscosity/Tunnelblick UTF8 with BOM format.
The link is https://pastebin.com/PnkskJCd
I hope you find it useful. Comments will be appreciated