I think that for API it is better to specify file or service, but both doesn't make sense as you construct file from service and vice versa