read a binary and echo it