File encoder for Excel