change the name of the files
Simplify the use of json.{loads,dumps} with files.
We don't want self.outputs and self.workers to be the same list