Add define file IO with Encoding.