Solve the bug when generating repeating Results Files