Adding initial file encoder