working file upload download api calls