Threading fully functional for SourceDir