fixing file sending