private function loadContent($data)
    {
        $loader = $this->getSupportedLoader($data);

        if (!$loader) {
            throw new \InvalidArgumentException(sprintf("'%s' is not supported by the current loaders", $this->file));
        }

        $loader->load();
        return $loader->getContent();
    }