[PRX-95] change file renaming regarding number of retries