it looks like it's possible for this function to silently return an empty string for *pFileName. Is that okay from the standpoint of whomever is relying on the call?