recreate idlist and filelist,added newidlist.c