generate a new file only if 'max_historic_years' value has been extended