Restored buf for transferig file thru wifi