Whether to ignore retry callbacks.
Callback handler that writes to a file.
This handler supports both context manager usage (recommended) and direct instantiation (deprecated) for backwards compatibility.
When not used as a context manager, a deprecation warning will be issued on
first use. The file will be opened immediately in __init__ and closed in
__del__ or when close() is called explicitly.