add rename file func