class_docstr: Object that "owns" a file on a filesystem. If the ``filename`` is None,
  it maintains a temporary file which name is accessible via ``name``
  attribute; when pickling, the contents of this file is pickled;
  when unpickling, a new temp file is created; temp files are auto-deleted.
docstr: Clean temporary files if needed 
code: def cleanup(self):
      """Clean temporary files if needed"""
      if self.keep_tempfiles or not self.auto:
          return
  
      if self.name is not None:
          try:
              os.close(self.fd)
              os.unlink(self.name)
          except OSError:
              pass
          self.name = None
  
file_path: sklearn-crfsuite/sklearn_crfsuite/_fileresource.py
imports: from __future__ import absolute_import
  import os
  import tempfile
label_desc: Use image node_id 3 for calling the FileResource obj's underlying member method code with example usage: obj.cleanup() without return types