Agignore.
Abstract the format detection.
Format param now used to determine the error output.