added functionality to create new folders with renamed files