another method to rename file