def METHOD_NAME(fp):
  """Send Gigatron object file"""
  ask = sendCommand('U')
  while ask[0].isdigit():
    # Arduino will ask for <n> bytes by sending '<n>?'
    n = int(ask[:-1])
    data = fp.read(n)
    if len(data) < n:
      raise Exception('File too short')
    sys.stdout.write('.')
    sys.stdout.flush()
    ser.write(data)
    ask = waitReply()           # Wait for next prompt
  print()