added ability to download binary files