code: def get_content(qfile, refresh, *args, **kwds):
      
      if not refresh and os.path.exists(qfile):
          with open(qfile, 'rb') as f:
              content = f.read()
      else:
          content = download(*args, **kwds).text.encode('utf-8')
          with open(qfile, 'wb') as f:
              f.write(content)
      return content
docs: Helper function to read file content as xml.  The file is cached
      in a subfolder of ~/.scopus/.
  
      Parameters
      ----------
      qfile : string
          The name of the file to be created.
  
      refresh : bool
          Whether the file content should be refreshed if it exists.
  
      *args, **kwds :
          Arguments and keywords to be passed on to download().
  
      Returns
      -------
      content : str
          The content of the file.