Instead of `.filename.ext.tmp`, something like `filename.ext~` is much more standard, and used by editors normally.
Instead of
.filename.ext.tmp, something likefilename.ext~is much more standard, and used by editors normally.