properly rename file