1. add function genfl
2. add one variable filelist to designate filelist path