Here's a Vim tip from zzapper.co.uk . . .
do a substitute on file name
:sav %:s/fred/joe/
©2020 Casey Falk. All thoughts presented are my own and not my employer's.