Create a new instance of the file tasks.
The file task options
Optional
logger: LoggerInstanceGet the task to process the errored file based on the error strategy.
The path of the file to process
The error to process
The task to process the errored file
File tasks to process files