add Rename function to rename current file