added support for renaming files in folder