added checks to browser for rename directories and files so that you cannot move a file using rename and made it so directories always have “/“ on the end of them during a rename.