fixed bug for filelist directory option parsing