Still, it might be better to inject the filesystem even if we do have the container. Could you at least typehint the container if you don't change this?