Add file listing function -  multithread version