Docstring for the confirm_overwrite function