Download accepts file objects and strings