Created the rename function and the new folder and file function.