rename file pointer