replace filelist with dir.glob