need to set toogleRecursive variable on jsp side and separete collections for files path for recursive and non recursive searching