Create lastid.txt