I checked for `isEmpty` only here on purpose: I was thinking we should either use all the file names or just mapped IDs. If an ID is missing I'd prefer an error over silently using the file name for a single entry. I believe that leads to weird issues later (no error during indexing, but missing/inconsistent IDs in the data). Thoughts?