Somewhere recently I saw code that does an in-place edit of files and generated backups of the original files. Most likely I saw the code snippet in the Lama or the Camel, but it may have been here. Now I have a use for the technique, but I can't find the code. Can anyone help please?