title: NestJS: where to place a file reader?
body: <p>I have an architectural question regarding NestJS. Let's say I have a ContentModule and a BlueprintModule, both need to read json files. In both cases I would have a service that calls the repository which than should read those files. This repository should now use something like a FileReader class.</p>
  
  <p>Where would i place this in NestJS? Should I create a new module for this and inject it into the ContentModule and BlueprintModule? I am a bit confused because I see this more as a util than a feature module. Should I just create a simple class in a <code>utils</code> or <code>lib</code> folder? </p>
  
  <p>Would I create a repository at all if I don't have a database and instead access a JsonService from my BlueprintService and ContentService?</p>
  
  <p>Any thoughts?</p>