Using splFileOject instead splFileInfo