How to store url obtained through "current url = WebUI.getUrl() " in test data(in Data files)

If you create a spreadsheet within the Data folder with a given name, then you can write and read your URL to and from it. I show an example in the question below: