/* Uses the linked parser to load the firmware data from the specified file into the linked list of segments.  */
bool FirmwareLoadFromFile(char const *firmwareFile, uint32_t addressOffset)
/* Uses the linked parser to load the firmware data from the specified file into the linked list of segments.  */
bool FirmwareLoadFromFile(char const *firmwareFile, uint32_t addressOffset)
{
  bool result = false;
  assert(firmwareFile != NULL);
  if (firmwareFile != NULL)
  {
    if (parserPtr != NULL)
    {
      if (parserPtr->LoadFromFile != NULL)
      {
        result = parserPtr->LoadFromFile(firmwareFile, addressOffset);
      }
    }
  }
  return result;
}