add thread decorator
change formation of file tree
Implemented throttle method