/// <summary>
 /// Deletes the specified files.
 /// </summary>
 /// <param name="env">The context.</param>
 /// <param name="filePaths">The file paths.</param>
 /// <example>
 /// <code>
 /// var files = GetFiles("./destination/Cake.*");
 /// DeleteFiles(files);
 /// </code>
 /// </example>
 /// <exception cref="ArgumentNullException"><paramref name="env"/> or <paramref name="filePaths"/>
 ///  is <see langword="null"/></exception>
 /// <exception cref="FileNotFoundException">The file does not exist.</exception>
 /// <exception cref="InvalidOperationException">Cannot delete files when <paramref name="env.FS"/> is null.
 /// </exception>
 public static void DeleteFiles(this IFileSystemEnvironment env, IEnumerable <FilePath> filePaths)
 {
     FileDeleter.DeleteFiles(env, filePaths);
 }
 /// <summary>
 /// Deletes the specified file.
 /// </summary>
 /// <param name="env">The context.</param>
 /// <param name="filePath">The file path.</param>
 /// <example>
 /// <code>
 /// DeleteFile("deleteme.txt");
 /// </code>
 /// </example>
 /// <exception cref="ArgumentNullException"><paramref name="env"/> or <paramref name="filePath"/>
 ///  is <see langword="null"/></exception>
 /// <exception cref="FileNotFoundException">The file <paramref name="filePath"/> does not exist.</exception>
 /// <exception cref="InvalidOperationException">Cannot delete files when <paramref name="env.FS"/> is null.
 /// </exception>
 public static void DeleteFile(this IFileSystemEnvironment env, FilePath filePath)
 {
     FileDeleter.DeleteFile(env, filePath);
 }
 /// <summary>
 /// Deletes the specified files.
 /// </summary>
 /// <param name="env">The context.</param>
 /// <param name="pattern">The pattern.</param>
 /// <example>
 /// <code>
 /// DeleteFiles("./publish/Cake.*");
 /// </code>
 /// </example>
 /// <exception cref="ArgumentNullException"><paramref name="env"/> or <paramref name="pattern"/>
 ///  is <see langword="null"/></exception>
 /// <exception cref="FileNotFoundException">The file does not exist.</exception>
 /// <exception cref="InvalidOperationException">Cannot delete files when <paramref name="env.FS"/> is null.
 /// </exception>
 public static void DeleteFiles(this IFileSystemEnvironment env, string pattern)
 {
     FileDeleter.DeleteFiles(env, pattern);
 }