code: def get_formatted_files(self, net):
          
          idx = -1
          if (
                  self.event_name is not None and
                  net.history
          ):
              for i, v in enumerate(net.history[:, self.event_name]):
                  if v:
                      idx = i
          return {
              "f_params": self._format_target(net, self.f_params, idx),
              "f_optimizer": self._format_target(net, self.f_optimizer, idx),
              "f_history": self.f_history_,
              "f_pickle": self._format_target(net, self.f_pickle, idx)
          }
docs: Returns a dictionary of formatted filenames