Updated to download files as binary