The elxsdkutil uses the File Information CLI command (file-info) to parse a .ufi flash file to determine its contents, based on the header format and file layout. It is implemented by the file_handler() function in the elxu_dwnld.c module.