fix brand file io