/// <summary>
        /// Deletes all files recursively leaving all sub directories.
        /// </summary>
        /// <param name="directoryPath"></param>
        public static void DeleteFilesRecursively(string directoryPath)
        {
            foreach (string file in C1Directory.GetFiles(directoryPath))
            {
                C1File.Delete(file);
            }

            foreach (string directory in C1Directory.GetDirectories(directoryPath))
            {
                DeleteFilesRecursively(directory);
            }
        }
        /// <exclude />
        public static void RemoveReadOnlyRecursively(string directoryPath)
        {
            foreach (string file in C1Directory.GetFiles(directoryPath))
            {
                FileUtils.RemoveReadOnly(file);
            }


            foreach (string directory in C1Directory.GetDirectories(directoryPath))
            {
                RemoveReadOnlyRecursively(directory);
            }
        }