def _file_read(path):
 content = False
 if os.path.exists(path):
  with salt.utils.fopen(path, 'r+') as fp_:
   content = fp_.read()
  fp_.close()
 return content

def _file_read ( path ) : content = False if os . path . exists ( path ) : with salt . utils . fopen ( path , 'r+' ) as fp_ : content = fp_ . read ( ) fp_ . close ( ) return content
read a file and return content .