Removed old code not using tree structure, continue work on shfs