code: public function setFileContent($fileContent)
      {
          // Accapts only a json value
          if (null === json_decode($fileContent)) {
              DataLogger::log(
                  sprintf(
                      'Event "%s" discharged the "%s" content because it is not a valid json',
                      get_class($this),
                      $fileContent
                  ),
                  DataLogger::WARNING
              );
  
              return $this;
          }
  
          $this->fileContent = $fileContent;
  
          return $this;
      }
docs: Sets the json file contents
  @param $fileContent
  
  @return $this