// Writes Owner and Effective Permissions
        private void WriteFileSystemObjectOwner(FileSystemInfo fileSystemInfo)
        {
            try
            {
                FileSystemSecurity accessControl = null;

                if (fileSystemInfo is FileInfo)
                {
                    FileInfo fileInfo = fileSystemInfo as FileInfo;
                    accessControl = File.GetAccessControl(fileInfo.FullName);
                }

                if (fileSystemInfo is DirectoryInfo)
                {
                    DirectoryInfo directoryInfo = fileSystemInfo as DirectoryInfo;
                    accessControl = Directory.GetAccessControl(directoryInfo.FullName);
                }

                WriteAttribute("Owner", accessControl.GetOwner());
                WriteAttribute("Permissions", accessControl.GetEffectivePermissions());
            }
            catch (Exception exception)
            {
                NotifyExceptionOccured(exception);
            }
        }