Added FileType to files form
Handled the user cancelling rename