public function getSchemaFileContent($filePath)
    {
        if (!$this->fs->exists($filePath)) {
            throw new SchemaDefinitionException(sprintf('The schema file "%s" was not found', $filePath));
        }

        $content = file_get_contents($filePath);

        try {
            $schema = Yaml::parse($content);

            return $schema;
        } catch (ParseException $e) {
            throw new SchemaDefinitionException($e->getMessage());
        }
    }