if you try winscp, you will find it very easy.
install winscp in your windows,
connect to the router using username “root” and password
Then find the file and edit directly