I bet you could easily get an LLM to write a python script that would do that for you.
I'd like an all-in-one tool of an LLM front-end which can access multiple files since that is more easily explained/permission granted for.
Claude code should be able to wire that up in about 10 min including going off and setting up gitlab actions for testing etc :D