Store the text in an option, not in a file. Two advantages:
- The option will not be deleted during the update.
- Your users can edit it even when their
wp-config.php
containsdefine( 'DISALLOW_FILE_EDIT',true );
.
Never try to write in the plugin and theme directories.