Whenever I check the file, all of the input is sent on a new line, including "exit". I don't know what more to do.