I don't think so JsonFile needs a path and not a File resource