public function getFileManager()
    {
        if ($this->fileManager === null) {
            if ($this->config()->file_manager_enabled_by_default) {
                return true;
            } else {
                return false;
            }
        }
        return $this->fileManager;
    }