This provides more separation between the explorer and the rename file dialog. This makes writing tests easier and make reading the code easier.