* fixed rest interface to download files