reused argument nb_file to free char**
added new class c_error_manager to manipul error fatal or not to close program or not