Optimize rename file