added little bit of multithreading to folder iteration