I updated it to use a variable instead of a text file.

 Should be marginally more power-efficient if you're using spinning disks instead of flash storage.