protected function loadConfigurationFile($configurationFile)
    {
        if (!file_exists($configurationFile)) {
            throw new Exception('The configuration yml file '.$configurationFile.' was not found');
        }
        $configuration = Yaml::parse(file_get_contents($configurationFile));

        if (empty($configuration['jk_assets']['tasks'])) {
            throw new Exception('Tasks not found in configuration file '.$configurationFile);
        }

        return $configuration['jk_assets']['tasks'];
    }