to download binary to text