Is this needed? You can just handle cases where there is only one file in the same way you handle more than one.