Added the option to return the SplFileInfo object and select the depth to search in