def _write_file_network(data, filename):
 with salt.utils.fopen(filename, 'w') as fp_:
  fp_.write(data)

def _write_file_network ( data , filename ) : with salt . utils . fopen ( filename , 'w' ) as fp_ : fp_ . write ( data )
writes a file to disk .