[Dictionary]: Get file extension by SplFileInfo.