Trying to get program to re-compile bits to bytes and send to file.