[PRX-111] improve file renaming