code: def binary2base64(binary_file: str) -> str:
      
      # Use mode = "rb" to read binary file
      with open(binary_file, "rb") as bin_file:
          encoded_string = base64.b64encode(bin_file.read())
      return encoded_string.decode()
docs: Convert a binary file (OGG, executable, etc.) to a
      printable string.