Signed-off-by: Ben Long <benjaminplong@gmail.com>

copy code from GrouplClient.java for listing groups, should perform
the same actions on the file list.. this should fix file listing error.
I will test later