add implement transfer of file as json, uuencoded