fixed bug of getFileList.
Merge pull request #30 from AntonioCollarino/caps

fixed bug of getFileList.