def _convert_filename_to_name(self, filename):
        """ Constructs an effect name from a filename, this is used for writing
        out temporary files """
        return filename.replace(".yaml", "").replace("effects/", "")\
            .replace("/", "_").replace("\\", "_").replace(".", "-")
 Constructs an effect name from a filename, this is used for writing
        out temporary files 
metadrive/render_pipeline/rpcore/effect.py