def save_configuration(self, configuration_file):
if not isinstance(configuration_file, tb.file.File) and os.path.splitext(configuration_file)[<NUM_LIT:1>].strip().lower() != "<STR_LIT>":<EOL><INDENT>return save_configuration_to_text_file(self, configuration_file)<EOL><DEDENT>else:<EOL><INDENT>return save_configuration_to_hdf5(self, configuration_file)<EOL><DEDENT>
Saving configuration

        Parameters
        ----------
        configuration_file : string
            Filename of the configuration file.