public function registerHalyconDatasource()
    {
        $resolver = App::make('halcyon');

        if (!$resolver->hasDatasource($this->dirName)) {
            $datasource = new FileDatasource($this->getPath(), App::make('files'));
            $resolver->addDatasource($this->dirName, $datasource);
        }
    }