adding python structure of imageFileObj