almost complete file sending