Sure the LLM can do all of that but it's a waste of a lot of tokens, and in my experience it often makes incorrect assumptions or doesn't realize certain details.
I'm curious what your experience has been with fork/merge – why a monolithic file rather than something more diffuse?
So it doesn't have to be monolithic.