Save a log file locally, called reversed.txt, as to what text the user wanted to revert and the output of the text (reversed text)