fix filelist.c