added test for SplFileInfo and array as input