Add a check on the inital files array.
Merge pull request #5700 from adobe/rlim/empty-files-array-check

Add a check on the initial files array. Fixes NPE on launch on Mac, seen by Ian