getFiles(), getDirectories() and getContent() return File or Directory object instead of SplFileInfo