corrected input file
correctly encodes spaces into binary