Saves to and loads user data from a text file.