The enormous downside to this approach is that once you want to load a json file dynamically, e.g. with a filename that comes from a dynamic string, you&#x27;re stuck and you have to come up with a completely different approach and rewrite your code.