gen_ids now updates file dates