FileInjector class as parameter in service