Saves the edit control's text to a file.
Use this function to save the content of the edit control to a text file or binary file.