Solving a bug with a name file