filewrite encode yea