Added support for retrying failed file processing.