added the ability to download files from the device