general update.
thinking->get file tree, duplicate while walking through
last->only get the first dir