def _deleteStyleFile( self, fname ):
      # Remove the file
      os.remove( fname )

      # Check for a custom script file and remove it.
      custom = os.path.dirname( fname )
      customBase, customExt = os.path.splitext( fname )
      custom = os.path.join( custom, ( "%s_custom%s" % (customBase,
                                                        customExt) ) )

      if os.path.exists( custom ):
         os.remove( custom )

   #-----------------------------------------------------------------------
The thumbnails for the ItemRequestBuilder
dataset/ETHPy150Open nasa/mplStyle/mplStyle/MplStyleManager.py/MplStyleManager._deleteStyleFile--crossover with--dataset/ETHPy150Open OneDrive/onedrive-sdk-python/src/python2/request/item_request_builder.py/ItemRequestBuilder.thumbnails