fixed bug of getFileList.