BuildEntryRef
bool BuildEntryRef(BMessage* msg, const char* dirName, entry_ref* entry);
if (BuildEntryRef(msg, dirName, &entry) &&