Make file name optional for rename.