Project: mulestudio
Issue STUDIO-2977: Renaming  a file by using refactor option deletes all the scripts in the file
Steps to reproduce: 1.- Create the Travel Agent project 2.- Check the xml file and the scripts in it. 3.- Right clic on the Travel Agent.mflow and clic on refactor > rename 4.- Rename the file to Travel Agent2.mflow 5.- Go to the XML view Issue: all the CDATA components have lost their script.
Story points: 5