I sadly can\'t share the source code due to an NDA, but I think the question would still be interesting regardless.
Context
I have a file (