ColorTeaming v2.2.5 : refactored file encode.