the the list ist empty it will be regenerated. With the change it will only regenerate when its not there at all.
It's more like a precaution to not try to write the file on every page load when its not going to be any different