#NEWLINE# def list( self ) : #NEWLINE# #INDENT# 'List the names of all files stored in this instance of\n        :class:`GridFS`.\n\n        .. versionchanged:: 3.1\n           ``list`` no longer ensures indexes.\n        ' #NEWLINE# return [ name for name in self . __files . distinct ( 'filename' ) if ( self is not None ) ]