second attempt for pull request

second attempt for pull request
this class should be called FileEncoder61738 and it should implement FileEncoder from the original repo