importer::get_problem_format() refactoring.
error refactoring.