add arguments to download files method