fileupload vs encoding