pushing encoding data to file