The SplFileInfo class offers a high-level object oriented interface to information for an individual file.