I do not have not created any code yet on this topic so I will just ask a question.
I am making an application in which user will insert multiple paths, and in those paths/folders I will be searching for N biggest files in every folder separately. I was thinking that I should use new Thread for every path but I am not sure if this is a good practice or good idea in general.
One little subquestion - should I use TreeSet(RedBlack tree) to keep files in some kind of order or B-Tree would be better?
EDIT: By new Thread I mean using multiple threads with AsyncTask or something like that