program takes a file directory and sort the files inside in a tree