got rid of the bytearray, instead got it creating a file to output our binaries