Changed FileResourceProvider to throw when template file is not found instead of returning null.