working but not full file transferred