write ifd