implemention functionality to list and download files