How it works
A variable forgets when the program stops. A file is saved on the computer, so it is still there tomorrow.
Think of a file as a folder full of rows. Each row is one line of data, like Monday and one thousand steps.
A program opens the file, reads a row and uses it. It repeats this for every row, starting from the top, and then closes the file.
If a row has a mistake, the chart will show it.