define DefaultController as a service and inject fileManager for better testability