registry passed through service container
registry passed to filemanager through service container