correct file transmission