fixed the bug on list files
Merge pull request #2 from obingo/master

fixed the bug on get files list