redid logic for seed file