read file as binary string