https://betapython.com/search-and-replace-a-line-in-a-file-in-python/
How to Search And Replace A Line In A File In Python