This is pre-translation to subfiles.
So there are max 2 files in readFiles at this point the index and the datafile. index and data files may be missing (opt) or not specified.
This code is testing if there was a datafile was mandated and it was present (non-optional)