Renaming multiple files

shouldn't allow multiple file renaming. should allow folder renaming.
some syntax fixes