Add FileInfo and DirectoryInfo properties.