There is a task to "scroll" the data of the form-lines through the file. The file must be no more than 1000 lines. When the file is full, the old lines are erased (top).
In addition to the option to download data, delete the file, save the data, what else is there? Better code.