Add function for renaming the current file