original_docstring: 
      Upload the file to IPFS network and return the exclusive fileHash value.
      
docstring: Upload the file to IPFS network and return the exclusive fileHash value.
docstring_tokens: Upload the file to IPFS network and return the exclusive fileHash value .
code: def ipfsAddFile(fileName):
      """
      Upload the file to IPFS network and return the exclusive fileHash value.
      """
      ipfsAdd = subprocess.Popen(args=['ipfs add ' + fileName + ' | tr \' \' \'\\n\' | grep Qm'], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding='utf-8')
      outs, errs = ipfsAdd.communicate(timeout=10)
      if ipfsAdd.poll() == 0:
          return outs.strip(), ipfsAdd.poll()
      else:
          return errs.strip(), ipfsAdd.poll()
code_tokens: def ipfsAddFile ( fileName ) : ipfsAdd = subprocess . Popen ( args = [ 'ipfs add ' + fileName + ' | tr \' \' \'\\n\' | grep Qm' ] , shell = True , stdout = subprocess . PIPE , stderr = subprocess . PIPE , encoding = 'utf-8' ) outs , errs = ipfsAdd . communicate ( timeout = 10 ) if ipfsAdd . poll ( ) == 0 : return outs . strip ( ) , ipfsAdd . poll ( ) else : return errs . strip ( ) , ipfsAdd . poll ( )
short_docstring: Upload the file to IPFS network and return the exclusive fileHash value.
short_docstring_tokens: Upload the file to IPFS network and return the exclusive fileHash value .
comment: """
      Upload the file to IPFS network and return the exclusive fileHash value.
      """