code: public void deleteFileFromTask(String jobId, String taskId, String fileName, Boolean recursive, Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException {
          FileDeleteFromTaskOptions options = new FileDeleteFromTaskOptions();
          BehaviorManager bhMgr = new BehaviorManager(this.customBehaviors(), additionalBehaviors);
          bhMgr.applyRequestBehaviors(options);
  
          this.parentBatchClient.protocolLayer().files().deleteFromTask(jobId, taskId, fileName, recursive, options);
      }
docs: Deletes the specified file from the specified task's directory on its compute node.
  
  @param jobId The ID of the job containing the task.
  @param taskId The ID of the task.
  @param fileName The name of the file to delete.
  @param recursive If the file-path parameter represents a directory instead of a file, you can set the recursive parameter to true to delete the directory and all of the files and subdirectories in it. If recursive is false or null, then the directory must be empty or deletion will fail.
  @param additionalBehaviors A collection of {@link BatchClientBehavior} instances that are applied to the Batch service request.
  @throws BatchErrorException Exception thrown when an error response is received from the Batch service.
  @throws IOException Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.