<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save_params_to_file(self, fname: str):
 """ Synchronizes parameters across devices, saves the parameters to disk, and updates self.params and self.aux_params. :param fname: Filename to write parameters to. """

        arg_params, aux_params = self.module.get_params()
        self.module.set_params(arg_params, aux_params)
        self.params = arg_params
        self.aux_params = aux_params
        super().save_params_to_file(fname)