Get file from the IoC container instead of using a facade