reconfigured the renameFiles method in CamStarRepair class