def close(self):
        """Close the current file and forget everything we know about it
        (filename, current line number)."""
        file = self.file
        self.file = None
        self.filename = None
        self.current_line = None
        file.close()
Close the current file and forget everything we know about it
        (filename, current line number).
product/gradle-plugin/src/main/python/setuptools/_distutils/text_file.py