The target to download is file(not object).

Please check it.