Added rename file function