Paginator no longer takes a controller instance as the first argument.
Wrong File manipulation permission check