public function registerProviderFromFile(\SplFileInfo $provider_file)
    {
        $class_name = $this->providers_namespace . '\\' . $provider_file->getBasename('.php');
        $this->addProvider($this->factory($class_name));
    }